UserFavorites system

This commit is contained in:
Parsa Nazer
2025-10-23 12:40:40 +03:30
parent fed32e78c5
commit 8d38346267
5 changed files with 134 additions and 3 deletions
+3 -1
View File
@@ -17,5 +17,7 @@ urlpatterns = [
path('unsubscribe', views.UnsubscribeView.as_view(), name='unsubscibe'),
path('attack/view/<int:pk>', views.ChangeViewAttack.as_view(), name='attack-view'),
path('logout', views.LogoutView.as_view(), name='logout'),
path('notification/all', views.NotificationListAPIView.as_view(), name='notif-list')
path('notification/all', views.NotificationListAPIView.as_view(), name='notif-list'),
path('favorites', views.FavoritesView.as_view(), name='favorites'),
path('favorites/toggle', views.ToggleFavoriteView.as_view(), name='favorite-toggle'),
]