diff options
author | Jeix <devnull@localhost> | 2010-06-09 19:17:07 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-06-09 19:17:07 +0200 |
commit | 99f475de674ea86938b779a0c88a52676d21ef6c (patch) | |
tree | ff20950a4e10ad1bf38424ef2986f2b99f90213f /module/web | |
parent | fixed: Django 1.2 CSRF verification failed in webinterface (diff) | |
download | pyload-99f475de674ea86938b779a0c88a52676d21ef6c.tar.xz |
compatibility fix. Webinterface now works with django 1.1 and 1.2
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/settings.py | 5 |
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'
|