X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=urls.py;h=3770765e7206dd777cadc24247c6672778d43d11;hb=3edc238e516029eec37ca84c53a59f7a958aa482;hp=3eb5e8e3fa7ab0ee677bde6c7156a65f5c4d920b;hpb=fc78a05df13a64c7bcc7a72c54a89ec1920f0308;p=matthijs%2Fprojects%2Fdorestad-bookings.git diff --git a/urls.py b/urls.py index 3eb5e8e..3770765 100644 --- a/urls.py +++ b/urls.py @@ -5,6 +5,7 @@ from django.conf.urls.defaults import * # admin.autodiscover() urlpatterns = patterns('', + (r'^reserveren/$', 'dorestad-bookings.tickets.views.book'), # Example: # (r'^dorestad1493/', include('dorestad1493.foo.urls')), @@ -14,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'), )