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

SQLAlchemy panel not working #58

Closed
pawelpogorzelski opened this issue Oct 24, 2013 · 2 comments
Closed

SQLAlchemy panel not working #58

pawelpogorzelski opened this issue Oct 24, 2013 · 2 comments

Comments

@pawelpogorzelski
Copy link

I've read the docs but I can't find any place that mentions how to enable SQLAlchemy panel. It's visible, but always shows 0 queries and is unclickable as in attached screenshot.
Please advise or point to some how-to as it's bugging me for some time,
fdt

@mgood
Copy link
Contributor

mgood commented Nov 6, 2013

Are you using Flask-SQLAlchemy? That panel depends on a hook that Flask-SQLAlchemy installs to track the queries run within a request. It gets its info from get_debug_queries in Flask-SQLAlchemy which contains the recorded queries.

@pawelpogorzelski
Copy link
Author

Sorry. It was my mistake that I've found out to late - I used declarative definition for SQLAlchemy not flask-sqlalchemy. After switch all is fine.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants