old_console/rotation/urls.py
2024-11-02 14:12:45 +03:00

13 lines
419 B
Python

from django.urls import path, include
from rest_framework import routers
from rotation.views import IncidentRotationUpdateViewSet, EventRotationUpdateViewSet
router = routers.SimpleRouter()
router.register('incidents', IncidentRotationUpdateViewSet, basename='incident-schedule')
router.register('events', EventRotationUpdateViewSet, basename='event-schedule')
urlpatterns = (
path('', include(router.urls)),
)