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:
85 files changed
+8257
-145
No files matched your search
@@ -1,5 +1,10 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from src.notifications.models import Notification
|
||||
|
||||
|
||||
@admin.register(Notification)
|
||||
class NotificationAdmin(admin.ModelAdmin):
|
||||
list_display = ("id", "user", "type", "title", "read_at", "created_at")
|
||||
list_filter = ("type", "read_at", "user")
|
||||
search_fields = ("title", "message", "user__email")
|
||||
Reference in new issue
Block a user