X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/339f6babf1e1d7b24e5b22662d04f99af909bd40..a3bff3a1ab98b4d4334901b906d602a5d1f0417a:/apps/archive/urls.py?ds=sidebyside diff --git a/apps/archive/urls.py b/apps/archive/urls.py index 29552a2..a67bd43 100644 --- a/apps/archive/urls.py +++ b/apps/archive/urls.py @@ -12,7 +12,11 @@ urlpatterns = patterns('', url(r'^published/$', 'archive.views.list_published', name="list_published"), url(r'^file/(\d+)/$', 'archive.views.file_managed', name="file"), url(r'^publish/(\d+)/$', 'archive.views.publish', name="publish"), + url(r'^convert/(\d+)/$', 'archive.views.publish', {'publish': False}, name="convert"), + url(r'^download/(\d+)/$', 'archive.views.download', name="download"), + url(r'^download/(\d+)\.(mp3|ogg)$', 'archive.views.download', name="download"), url(r'^cancel/(\d+)/$', 'archive.views.cancel_publishing', name="cancel_publishing"), + url(r'^remove_to_archive/(\d+)/$', 'archive.views.remove_to_archive', name="remove_to_archive"), url(r'^unmanaged/$', 'archive.views.list_unmanaged', name="list_unmanaged"), url(r'^unmanaged/(.+)/$', 'archive.views.file_unmanaged', name="file_unmanaged"),