from django.contrib import admin from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # path('', views.login_view, name='login'), # path('login/', views.logout_view, name='logout'), path('upload/', views.title_creator_view, name='title_creator_home'), path('upload-async/', views.title_creator_async_view, name='title_creator_async'), # New path('check-status//', views.check_status, name='check_status'), # Status checker path('master/', views.master_config_view, name='title_creator_master'), path('api/save-config/', views.save_config_api, name='save_config_api'), path('title-creator/history/', views.title_creator_history_page, name='title_creator_history'), path('title-creator/api/tasks/', views.get_title_creator_tasks_json, name='title_creator_tasks_json'), path('get-token-scrapper/', views.TokenFetcherAPI.as_view(), name='get_token_scrapper'), ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)