feat(src): add ticketing REST API and admin UI for tickets, settings, and branding

Introduce DRF views for ticket creation, listing, updating, and commenting, integrate admin registrations for new models, and provide a demo data command to seed initial content. This enables full project management workflow within the backend.
This commit is contained in:
sankalp committed 2026-06-28 14:16:16 +05:45
1 parent 57c6984c66
commit ab0e71f7eb
85 files changed
+8257 -145

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
# Generated by Django 6.0.6 on 2026-06-28 07:26
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
("projects", "0001_initial"),
]
operations = [
migrations.CreateModel(
name="Epic",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(max_length=255)),
("description", models.TextField(blank=True, null=True)),
("start_date", models.DateField(blank=True, null=True)),
("end_date", models.DateField(blank=True, null=True)),
("sort_order", models.IntegerField(default=0)),
("created_at", models.DateTimeField(auto_now_add=True)),
("updated_at", models.DateTimeField(auto_now=True)),
(
"project",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="epics",
to="projects.project",
),
),
],
options={
"verbose_name": "Epic",
"verbose_name_plural": "Epics",
"db_table": "epics",
"ordering": ("sort_order",),
},
),
]