urls.py 351 B

12345678910
  1. from django.urls import path
  2. from .views.planlistview import PlanListView
  3. from .views.planview import PlanView, PlanEdit, PlanEditType
  4. urlpatterns = [
  5. path('', PlanListView.as_view()),
  6. path('<str:plan_id>', PlanView.as_view()),
  7. path('<str:plan_id>/edit', PlanEdit.as_view()),
  8. path('<str:plan_id>/edit-type', PlanEditType.as_view())
  9. ]