From 60fabfcd4004a5ccc70878223ea390d9a7243653 Mon Sep 17 00:00:00 2001 From: SeanChenTaipei Date: Fri, 3 Mar 2023 21:53:52 +0800 Subject: [PATCH] f --- main.py | 4 ++-- templates/base.html | 14 +++----------- templates/registration.html | 11 +---------- templates/result.html | 4 ++-- templates/strategy_tw.html | 8 ++++---- 5 files changed, 12 insertions(+), 29 deletions(-) diff --git a/main.py b/main.py index 158a462..0ad72ff 100644 --- a/main.py +++ b/main.py @@ -20,8 +20,8 @@ pd.options.plotting.backend = "plotly" # PARAMETERS CONFIGS = { - # "ENV": "development", - # "DEBUG": True, + "ENV": "development", + "DEBUG": True, "SECRET_KEY": os.urandom(30), # Set the secret key for session authentication "PERMANENT_SESSION_LIFETIME": timedelta(minutes=60) } diff --git a/templates/base.html b/templates/base.html index e8a9ed1..8a8ff42 100644 --- a/templates/base.html +++ b/templates/base.html @@ -16,27 +16,19 @@ rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css" /> - + {% block link %} {% endblock %}