diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-04 22:07:43 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-24 12:06:08 +0200 |
commit | 9723e0d1abfafa584aa92cbf6d387267836d1c4f (patch) | |
tree | 7c357541c0bdaa21e734bb18677588230299e628 /example_project | |
parent | 30f8431c6b72fb98020790b353930c7aea9e84ee (diff) | |
download | Ishtar-9723e0d1abfafa584aa92cbf6d387267836d1c4f.tar.bz2 Ishtar-9723e0d1abfafa584aa92cbf6d387267836d1c4f.zip |
Fix disable CSRF check
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 553ea52f9..02d62ffd9 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -270,8 +270,8 @@ except ImportError, e: if DISABLE_CSRF_CHECK: MIDDLEWARE.insert( - 'ishtar_common.middleware.DisableCsrfCheck', - MIDDLEWARE.index('django.middleware.csrf.CsrfViewMiddleware') + MIDDLEWARE.index('django.middleware.csrf.CsrfViewMiddleware'), + 'ishtar_common.middleware.DisableCsrfCheck' ) TABLE_COLS = {} # allow to overload table col settings on extra module |