fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable youtube publish button when in volume.
[audio.git]
/
src
/
youtube
/
urls.py
diff --git
a/src/youtube/urls.py
b/src/youtube/urls.py
index
8dbd3d8
..
fb9ddc7
100644
(file)
--- a/
src/youtube/urls.py
+++ b/
src/youtube/urls.py
@@
-4,6
+4,7
@@
from . import views
urlpatterns = [
url(r'^publish/(\d+)/$', views.publish, name="youtube_publish"),
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('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"),
]
]