1 from django.conf.urls import url
2 from django.urls import path
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"),