cnas/server/apps/laboratory/urls.py

10 lines
266 B
Python

from django.urls import path, include
from .views import DetectOrgViewSet
from rest_framework import routers
router = routers.DefaultRouter()
router.register('detectorg', DetectOrgViewSet, basename="enterprise")
urlpatterns = [
path('', include(router.urls))
]