feat(src/epics): scaffold epic module with models, admin, serializers, urls, views
Implement core Epic model and API for managing project epics, enabling CRUD operations and integration with admin and DRF.
This commit is contained in:
5 files changed
+83
-16
No files matched your search
+9
-3
@@ -1,5 +1,11 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from src.epics.models import Epic
|
||||
|
||||
|
||||
@admin.register(Epic)
|
||||
class EpicAdmin(admin.ModelAdmin):
|
||||
list_display = ("id", "name", "project", "start_date", "end_date", "sort_order")
|
||||
list_filter = ("project",)
|
||||
search_fields = ("name", "project__name")
|
||||
|
||||
Reference in new issue
Block a user