settings: Enable CSRF protection middleware.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 08:54:14 +0000 (10:54 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 09:03:20 +0000 (11:03 +0200)
settings.py

index ff1d118f2ffe7d3f07f17a4b66155d43d8059f7b..c6bd83d6a5771d0b205f27bd1cdade4fdd01d029 100644 (file)
@@ -63,6 +63,7 @@ MIDDLEWARE_CLASSES = (
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.middleware.csrf.CsrfViewMiddleware',
 )
 
 ROOT_URLCONF = 'dorestad-bookings.urls'