8a4618bd5c493167018dd4ac342910915dd36e0b
[audio.git] / src / youtube / urls.py
1 from django.conf.urls import url
2 from django.urls import path
3 from . import views
4
5 urlpatterns = [
6     url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"),
7     path('book/<slug:slug>/publish/', views.book_publish, name="youtube_book_publish"),
8     path('thumbnail/<int:aid>/', views.thumbnail, name='youtube_thumbnail'),
9     path('thumbnail/<int:aid>/<int:thumbnail_id>/', views.thumbnail, name='youtube_thumbnail'),
10     path('preview/<int:pk>/', views.Preview.as_view(), name="youtube_preview"),
11     path('update/<int:pk>/', views.Update.as_view(), name="youtube_update"),
12     path('update-thumbnail/<int:pk>/', views.UpdateThumbnail.as_view(), name="youtube_update_thumbnail"),
13 ]