From fb084eb17fa5753db7639e1425383fac95a8d279 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 2 Mar 2022 23:35:38 +0100 Subject: [PATCH] Use fluid container --- advlabdb/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/advlabdb/__init__.py b/advlabdb/__init__.py index 1ad3195..79c94a9 100644 --- a/advlabdb/__init__.py +++ b/advlabdb/__init__.py @@ -21,6 +21,8 @@ app.config["SECURITY_PASSWORD_SALT"] = "devSalt" # os.environ.get("SECURITY_PAS app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///../db/advLab.db" app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False +app.config["FLASK_ADMIN_FLUID_LAYOUT"] = True + db = SQLAlchemy(app) fsqla.FsModels.set_db_info(db)