2025-05-13 11:58:17 +08:00
|
|
|
# apps/notification/urls.py
|
2025-05-08 17:25:32 +08:00
|
|
|
from django.urls import path, include
|
|
|
|
from rest_framework.routers import DefaultRouter
|
2025-05-13 11:58:17 +08:00
|
|
|
from apps.notification.views import NotificationViewSet
|
2025-05-08 17:25:32 +08:00
|
|
|
|
|
|
|
router = DefaultRouter()
|
|
|
|
router.register(r'', NotificationViewSet, basename='notification')
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('', include(router.urls)),
|
|
|
|
]
|