12345678910 |
- from django.urls import path
- from .views.planlistview import PlanListView
- from .views.planview import PlanView, PlanEdit, PlanEditType
- urlpatterns = [
- path('', PlanListView.as_view()),
- path('<str:plan_id>', PlanView.as_view()),
- path('<str:plan_id>/edit', PlanEdit.as_view()),
- path('<str:plan_id>/edit-type', PlanEditType.as_view())
- ]
|