1 from django.conf.urls.defaults import *
3 from django.contrib import admin
6 urlpatterns = patterns('',
7 (r'^$', 'dorestad-bookings.tickets.views.book'),
9 # (r'^dorestad1493/', include('dorestad1493.foo.urls')),
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')),
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'),