adding
This commit is contained in:
@@ -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"),
|
||||
]
|
||||
Reference in New Issue
Block a user