summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-06-09 18:24:13 +0200
committerGravatar Jeix <devnull@localhost> 2010-06-09 18:24:13 +0200
commita5c8cd990dd6bf55fa89e450210c2ec507c9e19e (patch)
tree91ad7b41e12296a49b19aa76328021e82ad17c92
parentfixed #106 folder_per_package (diff)
downloadpyload-a5c8cd990dd6bf55fa89e450210c2ec507c9e19e.tar.xz
fixed: Django 1.2 CSRF verification failed in webinterface
-rw-r--r--module/web/settings.py2
1 files changed, 2 insertions, 0 deletions
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'