from django.urls import path from . import views from django.views.generic import TemplateView 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/", 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"), path("notification/send/", views.NotificationSendView.as_view(), name="notification_send"), ]