Missing yt admin.
[audio.git] / src / youtube / urls.py
index f170e2b..8dbd3d8 100644 (file)
@@ -1,7 +1,9 @@
 from django.conf.urls import url
 from django.conf.urls import url
+from django.urls import path
 from . import views
 
 urlpatterns = [
     url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"),
     url(r'^convert/(\d+)/$', views.publish, {'publish': False}, name="youtube_convert"),
 from . import views
 
 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'),
 ]
 ]