388994992339f847f6ea7eea81bc101df5b71537
[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'^publishing/$', 'archive.views.list_publishing', name="list_publishing"),
12     url(r'^published/$', 'archive.views.list_published', name="list_published"),
13     url(r'^file/(\d+)/$', 'archive.views.file_managed', name="file"),
14     url(r'^publish/(\d+)/$', 'archive.views.publish', name="publish"),
15     url(r'^cancel/(\d+)/$', 'archive.views.cancel_publishing', name="cancel_publishing"),
16     url(r'^remove_to_archive/(\d+)/$', 'archive.views.remove_to_archive', name="remove_to_archive"),
17
18     url(r'^unmanaged/$', 'archive.views.list_unmanaged', name="list_unmanaged"),
19     url(r'^unmanaged/(.+)/$', 'archive.views.file_unmanaged', name="file_unmanaged"),
20     url(r'^move_to_new/(.+)/$', 'archive.views.move_to_new', name="move_to_new"),
21 )