ixg_platform/apps/batches/urls.py

8 lines
243 B
Python

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views
router = DefaultRouter()
router.register('batches', views.ProcessingBatchViewSet)
urlpatterns = [
path('', include(router.urls)),
]