tickets: Use RequestContext.
[matthijs/projects/dorestad-bookings.git] / urls.py
1 from django.conf.urls.defaults import *
2
3 # Uncomment the next two lines to enable the admin:
4 # from django.contrib import admin
5 # admin.autodiscover()
6
7 urlpatterns = patterns('',
8     (r'^reserveren/$', 'dorestad-bookings.tickets.views.book'),
9     # Example:
10     # (r'^dorestad1493/', include('dorestad1493.foo.urls')),
11
12     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
13     # to INSTALLED_APPS to enable admin documentation:
14     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
15
16     # Uncomment the next line to enable the admin:
17     # (r'^admin/(.*)', admin.site.root),
18     url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'tickets/login.html'}, name='login'),
19     url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
20 )