notification: add notification history

This commit is contained in:
behruz-dev
2025-10-30 16:17:25 +05:00
parent 22b1d37a1a
commit af8d212b3e
10 changed files with 146 additions and 5 deletions

View File

@@ -1,7 +1,11 @@
from django.urls import path
from core.apps.notifications.views import notification
from core.apps.notifications.views import notification_history
urlpatterns = [
path('device/register/', notification.RegisterExpoPushToken.as_view()),
path('history/', notification_history.NotificationHistoryListApiView.as_view()),
path('history/<uuid:id>/read/', notification_history.NotificationHistoryUpdateApiView.as_view()),
]