mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Use fluid container
This commit is contained in:
parent
158e6603f1
commit
fb084eb17f
1 changed files with 2 additions and 0 deletions
|
@ -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_DATABASE_URI"] = "sqlite:///../db/advLab.db"
|
||||||
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
||||||
|
|
||||||
|
app.config["FLASK_ADMIN_FLUID_LAYOUT"] = True
|
||||||
|
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
|
|
||||||
fsqla.FsModels.set_db_info(db)
|
fsqla.FsModels.set_db_info(db)
|
||||||
|
|
Loading…
Reference in a new issue