15 lines
550 B
Python
15 lines
550 B
Python
from django.urls import path, re_path
|
|
|
|
from ...api_views.notifications import views
|
|
|
|
urlpatterns = [
|
|
path("notifications/list/<str:type>", views.NotificationView.as_view()),
|
|
path("notifications/<int:id>/", views.NotificationReadDelView.as_view()),
|
|
path(
|
|
"notifications/bulk-delete-unread/",
|
|
views.NotificationBulkDelUnreadMessageView.as_view(),
|
|
),
|
|
path("notifications/bulk-read/", views.NotificationBulkReadDelView.as_view()),
|
|
path("notifications/bulk-delete/", views.NotificationBulkReadDelView.as_view()),
|
|
]
|