urls.py 214 B

12345678
  1. from django.urls import path
  2. from .views.planlistview import PlanListView
  3. from .views.planview import PlanView
  4. urlpatterns = [
  5. path('', PlanListView.as_view()),
  6. path('<str:plan_id>', PlanView.as_view())
  7. ]