urls.py 276 B

123456789
  1. from django.urls import path
  2. from .views.planlistview import PlanListView
  3. from .views.planview import PlanView, PlanEdit
  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. ]