notif urls
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
from apps.notification.models import Notification
|
||||||
|
from rest_framework.response import Response
|
||||||
|
from rest_framework import viewsets
|
||||||
|
from rest_framework import status
|
||||||
|
from django.db import transaction
|
||||||
|
|
||||||
|
|
||||||
|
class NotificationViewSet(viewsets.ModelViewSet):
|
||||||
|
pass
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
from django.urls import path, include
|
||||||
|
from rest_framework.routers import DefaultRouter
|
||||||
|
|
||||||
|
router = DefaultRouter()
|
||||||
|
router.register(r'')
|
||||||
|
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
|
path('api/v1/', include(router.urls))
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user