diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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), ) |