from rest_framework import routers
from .api import LeaveViewSet
router = routers.DefaultRouter()
router.register('api/leaves', LeaveViewSet, 'leaves')
urlpatterns = router.urls

1ce9f3da51759af71d012798bdfe68f65ac2c351
<mask token>

<mask token>
router.register('api/leaves', LeaveViewSet, 'leaves')
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('api/leaves', LeaveViewSet, 'leaves')
urlpatterns = router.urls

from rest_framework import routers
from .api import LeaveViewSet
router = routers.DefaultRouter()
router.register('api/leaves', LeaveViewSet, 'leaves')
urlpatterns = router.urls
