fix
[audio.git] / apps / archive / urls.py
1 from django.conf.urls.defaults import patterns, include, url
2
3 urlpatterns = patterns('',
4     url(r'^$', 'django.views.generic.simple.redirect_to', {'url': 'new/'}),
5
6     url(r'^new/$', 'archive.views.list_new', name="list_new"),
7     url(r'^new/([^/]+)/$', 'archive.views.file_new', name="file_new"),
8     url(r'^move_to_archive/([^/]+)/$', 'archive.views.move_to_archive', name="move_to_archive"),
9
10     url(r'^unpublished/$', 'archive.views.list_unpublished', name="list_unpublished"),
11     url(r'^published/$', 'archive.views.list_published', name="list_published"),
12     url(r'^file/(\d+)/$', 'archive.views.file_managed', name="file"),
13     url(r'^publish/(\d+)/$', 'archive.views.publish', name="publish"),
14     url(r'^cancel/(\d+)/$', 'archive.views.cancel_publishing', name="cancel_publishing"),
15
16     url(r'^unmanaged/$', 'archive.views.list_unmanaged', name="list_unmanaged"),
17     url(r'^unmanaged/([^/]+)/$', 'archive.views.file_unmanaged', name="file_unmanaged"),
18     url(r'^move_to_new/([^/]+)/$', 'archive.views.move_to_new', name="move_to_new"),
19 )