Files
project-managment/src/notifications/admin.py
T
sankalp ab0e71f7eb 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.
2026-06-28 14:16:16 +05:45

11 lines
337 B
Python

from django.contrib import admin
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")