from django.urls import path from .views import (DashboardView, SourcesView, ValidateSourceView, AddSourceView, SourceView, UpdateSourceView, DeleteSourceView, MediaView, MediaThumbView, MediaItemView, TasksView) app_name = 'sync' urlpatterns = [ # Dashboard URLs path('', DashboardView.as_view(), name='dashboard'), # Source URLs path('sources', SourcesView.as_view(), name='sources'), path('source-validate/', ValidateSourceView.as_view(), name='validate-source'), path('source-add', AddSourceView.as_view(), name='add-source'), path('source/', SourceView.as_view(), name='source'), path('source-update/', UpdateSourceView.as_view(), name='update-source'), path('source-delete/', DeleteSourceView.as_view(), name='delete-source'), # Media URLs path('media', MediaView.as_view(), name='media'), path('media-thumb/', MediaThumbView.as_view(), name='media-thumb'), path('media-item/', MediaItemView.as_view(), name='media-item'), # Task URLs path('tasks', TasksView.as_view(), name='tasks'), ]