-
-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
Achieved it this way, but it would be nice if there was an option within flask-debugtoolbar to toggle the use between the two:
# https://pypi.org/project/flask-debugtoolbar-sqlalchemy/
# https://git.sr.ht/~ihabunek/flask_debugtoolbar_sqlalchemy/tree/master
# Remove the Flask-SQLAlchemy Extension specific SQLAlchemyDebugPanel and Replace with SQLAlchemyPanel
app.config['DEBUG_TB_PANELS'] = tuple(
list(
map(
lambda x: x.replace(
'flask_debugtoolbar.panels.sqlalchemy.SQLAlchemyDebugPanel',
'flask_debugtoolbar_sqlalchemy.SQLAlchemyPanel'
),
list(
app.config['DEBUG_TB_PANELS']
)
)
)
)Ismael-Hery
Metadata
Metadata
Assignees
Labels
No labels