2024-03-11 14:48:48 +05:30
|
|
|
from django.urls import path
|
|
|
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
2024-03-21 13:09:14 +05:30
|
|
|
from . import views
|
|
|
|
|
|
2024-03-11 14:48:48 +05:30
|
|
|
app_name = "module_notification"
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
|
|
|
|
|
path("notification/", views.NotificationView.as_view(), name="notification"),
|
|
|
|
|
path("notification/add/", views.NotificationCreateOrUpdateView.as_view(), name="notification_add"),
|
|
|
|
|
path("notification/edit/<int:pk>", views.NotificationCreateOrUpdateView.as_view(), name="notification_edit"),
|
|
|
|
|
path("notification/list/", views.NotificationListJsonView.as_view(), name="notification_list"),
|
|
|
|
|
path("notification/action/", views.NotificationActionView.as_view(), name="notification_action"),
|
2024-03-26 13:22:29 +05:30
|
|
|
path("notification/archive/list/", views.NotificationArchiveView.as_view(), name="notification_archive"),
|
2024-03-11 14:48:48 +05:30
|
|
|
path("notification/send/", views.NotificationSendView.as_view(), name="notification_send"),
|
|
|
|
|
|
|
|
|
|
]
|