from django.urls import include, path
from rest_framework.routers import DefaultRouter

from .views import LeveeWorkCandidatesView, LeveeWorkSessionViewSet

router = DefaultRouter()
router.register(r'sessions', LeveeWorkSessionViewSet, basename='levee-work-session')

urlpatterns = [
    path('candidates/', LeveeWorkCandidatesView.as_view(), name='levee-work-candidates'),
    path('', include(router.urls)),
]

