9de274ee65b9bcd8425a036624114d9f2363ca35
[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('thumbnail/<int:aid>/', views.thumbnail, name='youtube_thumbnail'),
8     path('thumbnail/<int:aid>/<int:thumbnail_id>/', views.thumbnail, name='youtube_thumbnail'),
9     path('preview/<int:pk>/', views.Preview.as_view(), name="youtube_preview"),
10     path('update/<int:pk>/', views.Update.as_view(), name="youtube_update"),
11     path('update-thumbnail/<int:pk>/', views.UpdateThumbnail.as_view(), name="youtube_update_thumbnail"),
12 ]