Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQLAlchemy recording warning for versions >= 3 #233

Merged

Commits on Mar 20, 2024

  1. 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
    Jonty committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9656a2c View commit details
    Browse the repository at this point in the history