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