1234567891011121314151617181920212223 |
- from django.urls import path
- from .views import tasklistview, taskview, caseview
- from .views.beidoutask import BeidouTaskEditView, BeidouTaskView
- from .views.beidoutaskexecute import BeidouCaseExecuteView
- from .views.beidoutasklist import BeidouTaskCreateView, BeidouTaskListView, BeidouTaskInfoView
- urlpatterns = [
- path('', tasklistview.TaskListView.as_view()),
- # beidou
- path('beidou', BeidouTaskCreateView.as_view()),
- path('beidou/list', BeidouTaskListView.as_view()),
- path('beidou/info', BeidouTaskInfoView.as_view()),
- path('beidou/edit', BeidouTaskEditView.as_view()),
- path('beidou/<str:task_id>', BeidouTaskView.as_view()),
- path('beidou/<str:task_id>/execute', BeidouCaseExecuteView.as_view()),
- path('<str:task_id>', taskview.TaskView.as_view()),
- path('<str:task_id>/edit', taskview.TaskEdit.as_view()),
- path('<str:task_id>/case-file', caseview.CaseView.as_view()),
- path('<str:task_id>/case-file/execute', caseview.CaseExecute.as_view()),
- ]
|