tubesync/app/sync/urls.py

40 lines
792 B
Python
Raw Normal View History

2020-11-23 06:32:02 +00:00
from django.urls import path
2020-11-26 05:01:47 +00:00
from .views import (DashboardView, SourcesView, ValidateSourceView, AddSourceView,
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'),
2020-11-26 05:01:47 +00:00
path('source/add',
AddSourceView.as_view(),
name='add-source'),
2020-11-26 03:03:55 +00:00
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
]