Skip to content

Showing duplicate queries in some situations. #1425

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

Closed
tolomea opened this issue Dec 20, 2020 · 2 comments
Closed

Showing duplicate queries in some situations. #1425

tolomea opened this issue Dec 20, 2020 · 2 comments

Comments

@tolomea
Copy link

tolomea commented Dec 20, 2020

The debug toolbar seems to double report the queries done by the drop down widget.
If you:

1: checkout this code https://github.com/tolomea/django-tutorial/tree/debug_toolbar_bug
2: migrate and create a super user
4: log into admin, create a simulation and a scenario that references the simulation

Then when viewing the scenario in the admin the toolbar will report 2 queries for django_session but only one will be shown on the console logging.

@ghost
Copy link

ghost commented Jun 17, 2021

I'm not completely certain @tolomea, but from investigating a similar issue locally, this may be the same as #1239 (good news if so; there has been a fix merged for that).

@auvipy auvipy closed this as completed Nov 10, 2021
@tolomea
Copy link
Author

tolomea commented Nov 10, 2021

I'll have to remember to take a look at this again. I should probably have noted originally that this was on Postgres. Actually I was just generally a bit lax normally I'd at least include Django, Python and Debug Toolbar versions

@auvipy auvipy reopened this Nov 10, 2021
@auvipy auvipy closed this as completed Nov 10, 2021
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