mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-17 02:45:08 +00:00
notification app, api for device registration and fcm token
This commit is contained in:
18
notifications/urls.py
Normal file
18
notifications/urls.py
Normal file
@ -0,0 +1,18 @@
|
||||
"""
|
||||
notifications urls file
|
||||
"""
|
||||
# django imports
|
||||
from django.urls import path, include
|
||||
from rest_framework import routers
|
||||
|
||||
# local imports
|
||||
from notifications.views import NotificationViewSet
|
||||
|
||||
# initiate router
|
||||
router = routers.SimpleRouter()
|
||||
|
||||
router.register('notifications', NotificationViewSet, basename='notifications')
|
||||
|
||||
urlpatterns = [
|
||||
path('api/v1/', include(router.urls)),
|
||||
]
|
Reference in New Issue
Block a user