aboutsummaryrefslogtreecommitdiffstats
path: root/archive
diff options
context:
space:
mode:
Diffstat (limited to 'archive')
-rw-r--r--archive/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archive/urls.py b/archive/urls.py
index 8657fed..c57b15c 100644
--- a/archive/urls.py
+++ b/archive/urls.py
@@ -4,13 +4,17 @@
#
from django.conf.urls import patterns, include, url
+from django.views.generic.base import RedirectView
+from django.core.urlresolvers import reverse_lazy
from archive.views import ArchiveView
urlpatterns = patterns('',
# notice list view
- url(r'^archive/all$', ArchiveView.as_view(),
+ url(r'^all$', ArchiveView.as_view(),
name='archive_all'),
+ url(r'^archive/all$',
+ RedirectView.as_view(url=reverse_lazy('archive_all'))),
)