This commit is contained in:
2026-08-24 15:54:08 +03:30
commit 236002a87c
133 changed files with 5946 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from django.urls import path
from .api.views import (
NotificationListView,
NotificationMarkAllReadView,
NotificationMarkReadView,
)
app_name = "notifications"
urlpatterns = [
path("", NotificationListView.as_view(), name="list"),
path("read-all/", NotificationMarkAllReadView.as_view(), name="read-all"),
path("<int:notification_id>/read/", NotificationMarkReadView.as_view(), name="read"),
]