urlpatterns = [
url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"),
- url(r'^convert/(\d+)/$', views.publish, {'publish': False}, name="youtube_convert"),
path('thumbnail/<int:aid>/', views.thumbnail, name='youtube_thumbnail'),
+ path('preview/<int:pk>/', views.Preview.as_view(), name="youtube_preview"),
+ path('update/<int:pk>/', views.Update.as_view(), name="youtube_update"),
]