2
0

urls.py 1.1 KB

123456789101112131415161718192021
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('', views.index, name='index'),
  5. path('like-untube/', views.like_untube, name='like_untube'),
  6. path('unlike-untube/', views.unlike_untube, name='unlike_untube'),
  7. path('profile/', views.profile, name='profile'),
  8. path('about/', views.about, name='about'),
  9. path('logout/', views.log_out, name='log_out'),
  10. path('update/settings', views.update_settings, name='update_settings'),
  11. path('delete/account', views.delete_account, name='delete_account'),
  12. path('settings/', views.user_settings, name='settings'),
  13. path('import/liked-videos-playlist', views.get_user_liked_videos_playlist, name='get_user_liked_videos_playlist'),
  14. path('import/init', views.import_user_yt_playlists, name='import_user_yt_playlists'),
  15. path('import/start', views.start_import, name='start'),
  16. path('import/continue', views.continue_import, name='continue'),
  17. path('import/cancel', views.cancel_import, name='cancel'),
  18. path('updates/user-playlists/<slug:action>', views.user_playlists_updates, name='user_playlists_updates'),
  19. ]