11 lines
295 B
Python
11 lines
295 B
Python
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
from .views import ProductionPlanViewSet
|
|
|
|
router = DefaultRouter()
|
|
router.register(r'production', ProductionPlanViewSet, basename='production')
|
|
|
|
urlpatterns = [
|
|
path('calendar/', include(router.urls)),
|
|
]
|