summaryrefslogtreecommitdiffstats
path: root/module/web/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/settings.py')
-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'