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

SQL panel work #1786

Merged
merged 6 commits into from
May 18, 2023
Merged

SQL panel work #1786

merged 6 commits into from
May 18, 2023

Conversation

living180
Copy link
Contributor

Description

Various minor improvements and cleanups to the SQL panel code. Individual commits should be self-explanitory.

living180 added 6 commits May 17, 2023 14:58
There is no reason for them to be computed when recording, so move them
to SQLPanel.generate_stats().
The same information can be retrieved from len(self._queries).
More fully explain the reasoning for skipping monkey patching when
running under a Django SimpleTestCase.
Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent, thank you @living180

@tim-schilling tim-schilling merged commit b7af52d into django-commons:main May 18, 2023
@living180 living180 deleted the sql_work branch May 18, 2023 11:23
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

Successfully merging this pull request may close these issues.

2 participants