aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-06-21 10:56:21 +0000
committerPjotr Prins2016-06-21 10:56:21 +0000
commit5764069b15b19a0b0f7ae2759683362114652716 (patch)
tree1ca8dc9770216e1b5037b38966d817f84160df12 /wqflask
parent7f91c87c21e32ccd36ea73607c4038016684a5e5 (diff)
downloadgenenetwork2-5764069b15b19a0b0f7ae2759683362114652716.tar.gz
Note on menu rendering with GN_SERVE
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 9a866092..108a70a0 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -75,9 +75,11 @@ def connect_db():
def index_page():
logger.info("Sending index_page")
if USE_GN_SERVER:
- return render_template("index_page.html")
+ # The menu is generated using GN_SERVER
+ return render_template("index_page.html")
else:
- return render_template("index_page_orig.html")
+ # Old style static menu (OBSOLETE)
+ return render_template("index_page_orig.html")
@app.route("/tmp/<img_path>")