X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/7a7629297f382c47a84ec5786c8cdd52224887ae..5f3db867cdab89e934f4946c58568039b780defe:/src/youtube/urls.py diff --git a/src/youtube/urls.py b/src/youtube/urls.py index 8dbd3d8..91dbeb4 100644 --- a/src/youtube/urls.py +++ b/src/youtube/urls.py @@ -1,9 +1,12 @@ -from django.conf.urls import url from django.urls import path from . import views urlpatterns = [ - url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"), - url(r'^convert/(\d+)/$', views.publish, {'publish': False}, name="youtube_convert"), + path('publish//', views.publish, name="youtube_publish"), + path('book//publish/', views.book_publish, name="youtube_book_publish"), path('thumbnail//', views.thumbnail, name='youtube_thumbnail'), + path('thumbnail///', views.thumbnail, name='youtube_thumbnail'), + path('preview//', views.Preview.as_view(), name="youtube_preview"), + path('update//', views.Update.as_view(), name="youtube_update"), + path('update-thumbnail//', views.UpdateThumbnail.as_view(), name="youtube_update_thumbnail"), ]