summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-04 09:36:18 -0600
committerDan McGee <dan@archlinux.org>2011-03-04 09:36:18 -0600
commitc722d8bf9e2f647d5cd8fa3a85a17d0cb3b5b101 (patch)
tree2ac4fcf33d37786737a2664a96dd03f7961e8d80 /urls.py
parentf29700ce67ad323e8c68dacd776cf3e991721104 (diff)
Remove multiple account login/logout URLs
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 3608da67..33319263 100644
--- a/urls.py
+++ b/urls.py
@@ -42,12 +42,8 @@ urlpatterns += patterns('django.contrib.sitemaps.views',
urlpatterns += patterns('django.contrib.auth.views',
(r'^login/$', 'login', {
'template_name': 'registration/login.html'}),
- (r'^accounts/login/$', 'login', {
- 'template_name': 'registration/login.html'}),
(r'^logout/$', 'logout', {
'template_name': 'registration/logout.html'}),
- (r'^accounts/logout/$', 'logout', {
- 'template_name': 'registration/logout.html'}),
)
# Public pages