Louis Mazin 4db822aebe big maj
2026-10-05 17:52:28 +02:00

16 lines
791 B
Python

from django.urls import path
from .views import PeopleView, ConfigurationView, EffectiveView, ScheduleView, ExceptionView, RequestListView, RequestPreviewView, RequestDecisionView, RequestSwapTargetDayView
urlpatterns = [
path('people/', PeopleView.as_view()),
path('config/', ConfigurationView.as_view()),
path('effective/', EffectiveView.as_view()),
path('schedules/', ScheduleView.as_view()),
path('exceptions/', ExceptionView.as_view()),
path('exceptions/<int:pk>/', ExceptionView.as_view()),
path('requests/', RequestListView.as_view()),
path('requests/preview/', RequestPreviewView.as_view()),
path('requests/<int:pk>/swap-target-day/', RequestSwapTargetDayView.as_view()),
path('requests/<int:pk>/decision/', RequestDecisionView.as_view()),
]