Show YouTube publishing status.
[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     url(r'^convert/(\d+)/$', views.publish, {'publish': False}, name="youtube_convert"),
8     path('thumbnail/<int:aid>/', 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 ]