feat(dashboard): improve parser API checks
This commit is contained in:
@@ -26,6 +26,8 @@ from apps.parsers.views import (
|
||||
SourceCardDetailView,
|
||||
SourceCardListView,
|
||||
SourceCardRefreshView,
|
||||
SourceResultDetailView,
|
||||
SourceResultListView,
|
||||
SourceTaskStatusListView,
|
||||
)
|
||||
from django.urls import include, path
|
||||
@@ -134,6 +136,16 @@ urlpatterns = [
|
||||
ParserUploadView.as_view(),
|
||||
name="upload-parser-data",
|
||||
),
|
||||
path(
|
||||
"results/<str:source_key>/",
|
||||
SourceResultListView.as_view(),
|
||||
name="source-result-list",
|
||||
),
|
||||
path(
|
||||
"results/<str:source_key>/<int:pk>/",
|
||||
SourceResultDetailView.as_view(),
|
||||
name="source-result-detail",
|
||||
),
|
||||
path(
|
||||
"schedules/",
|
||||
ParserScheduleListCreateView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user