urls.py 410 B

12345678910
  1. from django.urls import path
  2. from .views import tasklistview, taskview, caseview
  3. urlpatterns = [
  4. path('', tasklistview.TaskListView.as_view()),
  5. path('<str:task_id>', taskview.TaskView.as_view()),
  6. path('<str:task_id>/edit', taskview.TaskEdit.as_view()),
  7. path('<str:task_id>/case-file', caseview.CaseView.as_view()),
  8. path('<str:task_id>/case-file/execute', caseview.CaseExecute.as_view())
  9. ]