tubesync/app/sync/urls.py

36 lines
690 B
Python
Raw Normal View History

2020-11-23 06:32:02 +00:00
from django.urls import path
2020-11-26 03:03:55 +00:00
from .views import (DashboardView, SourcesView, ValidateSourceView, MediaView,
TasksView, LogsView)
2020-11-23 06:32:02 +00:00
app_name = 'sync'
urlpatterns = [
path('',
2020-11-26 03:03:55 +00:00
DashboardView.as_view(),
name='dashboard'),
path('sources',
SourcesView.as_view(),
name='sources'),
path('source/validate/<slug:source_type>',
ValidateSourceView.as_view(),
name='validate-source'),
path('media',
MediaView.as_view(),
name='media'),
path('tasks',
TasksView.as_view(),
name='tasks'),
path('logs',
LogsView.as_view(),
name='logs'),
2020-11-23 06:32:02 +00:00
]