Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SQLAlchemy recording warning for versions >= 3
Since SQLAlchemy 3.0 `SQLALCHEMY_RECORD_QUERIES` is no longer automatically enabled when Flask is running in debug or testing mode so the debug toolbar warning will never be shown. https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/config/#flask_sqlalchemy.config.SQLALCHEMY_RECORD_QUERIES
- Loading branch information