summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 02d62ffd9..a76134746 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -261,19 +261,11 @@ DOT_BINARY = ""
TEST_RUNNER = 'ishtar_common.tests.ManagedModelTestRunner'
-DISABLE_CSRF_CHECK = False # for testing purpose
-
try:
from local_settings import *
except ImportError, e:
print('Unable to load local_settings.py:', e)
-if DISABLE_CSRF_CHECK:
- MIDDLEWARE.insert(
- MIDDLEWARE.index('django.middleware.csrf.CsrfViewMiddleware'),
- 'ishtar_common.middleware.DisableCsrfCheck'
- )
-
TABLE_COLS = {} # allow to overload table col settings on extra module
COL_LABELS = {}