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