From 5218be5681757254bcb132845a2f745162288c3c Mon Sep 17 00:00:00 2001 From: Amitosh Swain Mahapatra Date: Sun, 24 Jan 2021 08:24:28 +0530 Subject: [PATCH] Fix config loading order to initialize SQLAlchemy properly --- snowflake/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowflake/app.py b/snowflake/app.py index 3126070..ef4dd6d 100644 --- a/snowflake/app.py +++ b/snowflake/app.py @@ -15,8 +15,8 @@ app = Flask(__name__) -db.init_app(app) settings.init_app(app) +db.init_app(app) marshmallow.init_app(app) login_manager = LoginManager()