From 5764069b15b19a0b0f7ae2759683362114652716 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 21 Jun 2016 10:56:21 +0000 Subject: Note on menu rendering with GN_SERVE --- wqflask/wqflask/views.py | 6 ++++-- 1 file 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/") -- cgit v1.2.3