diff options
Diffstat (limited to 'module/web/settings.py')
-rw-r--r-- | module/web/settings.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/web/settings.py b/module/web/settings.py index b66015db0..bbea1690b 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -107,9 +107,10 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.gzip.GZipMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.middleware.locale.LocaleMiddleware',
+ 'django.middleware.common.CommonMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.csrf.middleware.CsrfResponseMiddleware',
)
ROOT_URLCONF = 'urls'
|