aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2018-03-21 10:05:54 +0000
committerPjotr Prins2018-03-21 10:05:54 +0000
commitfe08b7773b2903baf80adf97bad9db4317774c2a (patch)
treec4100f8971443f18bfa66bcd89368d1385671281
parentafd8d38c19be78b7e962f4edea0972ac3f48c25d (diff)
downloadgenenetwork2-fe08b7773b2903baf80adf97bad9db4317774c2a.tar.gz
Skip automatic use of EXPLAIN_TEMPLATE_LOADING.
-rw-r--r--wqflask/utility/startup_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/startup_config.py b/wqflask/utility/startup_config.py
index 02e8e56c..5a62cc50 100644
--- a/wqflask/utility/startup_config.py
+++ b/wqflask/utility/startup_config.py
@@ -19,8 +19,8 @@ def app_config():
mode = WEBSERVER_MODE
if mode == "DEV" or mode == "DEBUG":
app.config['TEMPLATES_AUTO_RELOAD'] = True
- if mode == "DEBUG":
- app.config['EXPLAIN_TEMPLATE_LOADING'] = True
+ # if mode == "DEBUG":
+ # app.config['EXPLAIN_TEMPLATE_LOADING'] = True <--- use overriding app param instead
print("==========================================")
show_settings()