summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 1e55dacb..98f7be8b 100644
--- a/urls.py
+++ b/urls.py
@@ -61,10 +61,14 @@ urlpatterns = patterns('',
# Authentication / Admin
(r'^denied/$', 'archweb_dev.devel.views.denied'),
- (r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'registration/login.html'}),
- (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'registration/login.html'}),
- (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html'}),
- (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html'}),
+ (r'^login/$', 'django.contrib.auth.views.login', {
+ 'template_name': 'registration/login.html'}),
+ (r'^accounts/login/$', 'django.contrib.auth.views.login', {
+ 'template_name': 'registration/login.html'}),
+ (r'^logout/$', 'django.contrib.auth.views.logout', {
+ 'template_name': 'registration/logout.html'}),
+ (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {
+ 'template_name': 'registration/logout.html'}),
(r'^admin/(.*)', admin.site.root),
)