X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/d7186e88fcc0cf5d5449a16d3907e01aaafc484e..ad43f8a3a57a3bb73edefe7e815328676cabcdb1:/src/youtube/urls.py?ds=inline diff --git a/src/youtube/urls.py b/src/youtube/urls.py index f170e2b..8a4618b 100644 --- a/src/youtube/urls.py +++ b/src/youtube/urls.py @@ -1,7 +1,13 @@ 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('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"), ]