From c04689738dc8bc3619ead5779efcda5f0b049da6 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 19 Oct 2010 10:54:14 +0200 Subject: [PATCH] settings: Enable CSRF protection middleware. --- settings.py | 1 + 1 file changed, 1 insertion(+) 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' -- 2.30.2