Django/DRF + PostgreSQL/Redis/Celery backend with accounts, library, moments, and notifications apps; React/TypeScript/Vite frontend with Instagram-style sidebar nav, feed, profiles, nested comment replies, notifications, and photo/video upload with ffmpeg-generated posters. Co-Authored-By: Claude Sonnet 5 <[email protected]>
10 lines
271 B
Python
10 lines
271 B
Python
from django.contrib import admin
|
|
|
|
from .models import Notification
|
|
|
|
|
|
@admin.register(Notification)
|
|
class NotificationAdmin(admin.ModelAdmin):
|
|
list_display = ["id", "recipient", "actor", "verb", "moment", "is_read", "created_at"]
|
|
list_filter = ["verb", "is_read"]
|