12 lines
449 B
Python
12 lines
449 B
Python
from django.urls import path, include
|
|
from .views import StandardViewSet, UnitTypedViewSet, ImplementRuleViewSet
|
|
from rest_framework import routers
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register('standard', StandardViewSet, basename="standard")
|
|
router.register('unittype', UnitTypedViewSet, basename="unittype")
|
|
router.register('implementrule', ImplementRuleViewSet, basename="implementrule")
|
|
|
|
urlpatterns = [
|
|
path('', include(router.urls))
|
|
] |