from django.conf.urls import url, include
from rest_framework.routers import DefaultRouter
from . import views


router = DefaultRouter()
router.register('executors', views.ExecutorViewSet, 'executors')
router.register('customers', views.CustomerViewSet, 'customers')
router.register('tasks', views.TaskViewSet)

urlpatterns = [
    url('^v1/', include(router.urls)),
]

from django.conf.urls import url, include
from rest_framework.routers import DefaultRouter
from . import views


router = DefaultRouter()
router.register('executors', views.ExecutorViewSet, 'executors')
router.register('customers', views.CustomerViewSet, 'customers')
router.register('tasks', views.TaskViewSet)

urlpatterns = [
    url('^v1/', include(router.urls)),
]
