fix
[audio.git] / src / youtube / urls.py
1 from django.urls import path
2 from . import views
3
4 urlpatterns = [
5     path('publish/<int:aid>/', views.publish, name="youtube_publish"),
6     path('book/<slug:slug>/publish/', views.book_publish, name="youtube_book_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 ]