2026-08-24 15:54:08 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
|
|
from .api.views import (
|
|
|
|
|
BulkMessageDetailView,
|
|
|
|
|
ConfirmManualSendView,
|
2026-09-04 13:05:54 +03:30
|
|
|
ContactMessageHistoryView,
|
2026-08-24 15:54:08 +03:30
|
|
|
MessagingStatsView,
|
|
|
|
|
SendBulkMessageView,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
app_name = "messaging"
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("send/", SendBulkMessageView.as_view(), name="send"),
|
|
|
|
|
path("stats/", MessagingStatsView.as_view(), name="stats"),
|
2026-09-04 13:05:54 +03:30
|
|
|
path("history/", ContactMessageHistoryView.as_view(), name="contact-history"),
|
2026-08-24 15:54:08 +03:30
|
|
|
path("<int:pk>/", BulkMessageDetailView.as_view(), name="detail"),
|
|
|
|
|
path("<int:bulk_id>/confirm/<int:recipient_id>/", ConfirmManualSendView.as_view(), name="confirm"),
|
|
|
|
|
]
|