X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=urls.py;h=0eef5e4f1ecf1372b990d96a1e1a96b6fd0a5f80;hb=03fe95cce50804b3f0939e4e988d3a92c478f1db;hp=3770765e7206dd777cadc24247c6672778d43d11;hpb=4d05f907d6e6ab93c5427a3b86461bc2e20aaa07;p=matthijs%2Fprojects%2Fdorestad-bookings.git diff --git a/urls.py b/urls.py index 3770765..0eef5e4 100644 --- a/urls.py +++ b/urls.py @@ -1,11 +1,11 @@ from django.conf.urls.defaults import * -# Uncomment the next two lines to enable the admin: -# from django.contrib import admin -# admin.autodiscover() +from django.contrib import admin +admin.autodiscover() urlpatterns = patterns('', - (r'^reserveren/$', 'dorestad-bookings.tickets.views.book'), + (r'^$', 'dorestad-bookings.tickets.views.book'), + url(r'^betalingen/$', 'dorestad-bookings.tickets.views.payments', name='payments'), # Example: # (r'^dorestad1493/', include('dorestad1493.foo.urls')), @@ -13,8 +13,8 @@ urlpatterns = patterns('', # to INSTALLED_APPS to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), - # Uncomment the next line to enable the admin: - # (r'^admin/(.*)', admin.site.root), + # Enable the auto admin interface + (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'), )