mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
15 lines
756 B
Python
15 lines
756 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "tool"
|
|
urlpatterns = [
|
|
path('workspace/<str:workspace_id>/tool', views.ToolView.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/import', views.ToolView.Import.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>', views.ToolView.Operate.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/debug', views.ToolView.Debug.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/pylint', views.ToolView.Pylint.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/export', views.ToolView.Export.as_view()),
|
|
path('workspace/<str:workspace_id>/tool/<int:current_page>/<int:page_size>', views.ToolView.Page.as_view()),
|
|
]
|