summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-06-09 19:17:07 +0200
committerGravatar Jeix <devnull@localhost> 2010-06-09 19:17:07 +0200
commit99f475de674ea86938b779a0c88a52676d21ef6c (patch)
treeff20950a4e10ad1bf38424ef2986f2b99f90213f
parentfixed: Django 1.2 CSRF verification failed in webinterface (diff)
downloadpyload-99f475de674ea86938b779a0c88a52676d21ef6c.tar.xz
compatibility fix. Webinterface now works with django 1.1 and 1.2
-rw-r--r--module/web/settings.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/web/settings.py b/module/web/settings.py
index 1c844569a..8f9425198 100644
--- a/module/web/settings.py
+++ b/module/web/settings.py
@@ -116,9 +116,8 @@ MIDDLEWARE_CLASSES = (
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.csrf.middleware.CsrfResponseMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.middleware.csrf.CsrfResponseMiddleware'
+ 'django.contrib.csrf.middleware.CsrfViewMiddleware',
+ 'django.contrib.csrf.middleware.CsrfResponseMiddleware'
)
ROOT_URLCONF = 'urls'