jonalxh / Flask-Admin-Dashboard

Flask Admin customized using AdminLTE bootstrap template and flask security to offer a better Dashboard UX
MIT License
611 stars 191 forks source link

Issue with SQLAlchemy 1.4.0 #14

Open sonicnkt opened 3 years ago

sonicnkt commented 3 years ago

There is a issue with SQLAlchemy 1.4.0 which is automatically installed as a dependency of Flask-SQLAlchemy in the requirements.txt.

It leads to the following issue when running the app:

sa_url.database = os.path.join(app.root_path, sa_url.database)
AttributeError: can't set attribute

It can easily be fixed for the moment by manually adding SQLAlchemy==1.3.23 to requirements.txt.

More Infos: https://stackoverflow.com/questions/66647787/attributeerror-cant-set-attribute-when-connecting-to-sqlite-database-with-flas