diff options
author | Jeix <devnull@localhost> | 2010-06-09 18:24:13 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-06-09 18:24:13 +0200 |
commit | a5c8cd990dd6bf55fa89e450210c2ec507c9e19e (patch) | |
tree | 91ad7b41e12296a49b19aa76328021e82ad17c92 /module | |
parent | fixed #106 folder_per_package (diff) | |
download | pyload-a5c8cd990dd6bf55fa89e450210c2ec507c9e19e.tar.xz |
fixed: Django 1.2 CSRF verification failed in webinterface
Diffstat (limited to 'module')
-rw-r--r-- | module/web/settings.py | 2 |
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'
|