From a5c8cd990dd6bf55fa89e450210c2ec507c9e19e Mon Sep 17 00:00:00 2001 From: Jeix Date: Wed, 9 Jun 2010 18:24:13 +0200 Subject: fixed: Django 1.2 CSRF verification failed in webinterface --- module/web/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/web/settings.py b/module/web/settings.py index 3ab5ff20e..1c844569a 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -117,6 +117,8 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.csrf.middleware.CsrfResponseMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.middleware.csrf.CsrfResponseMiddleware' ) ROOT_URLCONF = 'urls' -- cgit v1.2.3