From: Matthijs Kooijman Date: Tue, 19 Oct 2010 08:54:14 +0000 (+0200) Subject: settings: Enable CSRF protection middleware. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c04689738dc8bc3619ead5779efcda5f0b049da6;p=matthijs%2Fprojects%2Fdorestad-bookings.git settings: Enable CSRF protection middleware. --- diff --git a/settings.py b/settings.py index ff1d118..c6bd83d 100644 --- a/settings.py +++ b/settings.py @@ -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'