settings: Enable (phpbb) authentication.
[matthijs/projects/dorestad-bookings.git] / urls.py
diff --git a/urls.py b/urls.py
index b79f80222f8b0cb5e92af6d1dd5fe3d3d052ba25..3770765e7206dd777cadc24247c6672778d43d11 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -15,4 +15,6 @@ urlpatterns = patterns('',
 
     # Uncomment the next line to enable the admin:
     # (r'^admin/(.*)', admin.site.root),
+    url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'tickets/login.html'}, name='login'),
+    url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
 )