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

debugsqlshell no longer showing sql after upgrade #1231

Closed
dee0 opened this issue Jan 13, 2020 · 3 comments
Closed

debugsqlshell no longer showing sql after upgrade #1231

dee0 opened this issue Jan 13, 2020 · 3 comments

Comments

@dee0
Copy link

dee0 commented Jan 13, 2020

requirements-django-3.0.txt
requirements-before-django-3.0.txt

We are using postgres 12 and python 3.8.

A couple of days ago we updated to Django 3.0 from 2.2.6 and we just noticed that the debugsqlshell is no longer showing us the SQL used for db queries.

The attached files show the before and after of the library upgrade we performed.

Note that

  • We aren't seeing any error messages in the shell. It is just the case that the SQL isn't displaying
  • The debug toolbar does show the SQL for db queries
  • If we switch from postgres to sqlite, debugsqlshell does show the SQL
    ( This isn't something we can rely on because a significant amount of our code relies on postgres specific features )
  • I have attempted to just downgrade psycopg2 however it seems there is some sort of psycopg2 bug that prevents the downgrade from succeeding.

Any help would be appreciated.

@tim-schilling
Copy link
Contributor

This will be fixed with #1226

@dee0
Copy link
Author

dee0 commented Jan 13, 2020

Thanks!

@tim-schilling
Copy link
Contributor

DDT 2.2 now supports this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants