-
Notifications
You must be signed in to change notification settings - Fork 286
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
[RFC] admin: prefetch related fields #366
Conversation
1ed4168
to
1972feb
Compare
I'm a 👍 on this. Can you please use double-quotes is all that I ask, please? |
Sure. At least you do not have two-space indendation.. ;) I have some stashed tests to test the number of queries in existing tests - will update. |
25f77aa
to
a567f03
Compare
Tests have been added - but there might be a better way. |
a567f03
to
353d300
Compare
2e0e23b
to
96aae71
Compare
96aae71
to
30f7dcb
Compare
Codecov Report
@@ Coverage Diff @@
## master #366 +/- ##
=========================================
+ Coverage 99.39% 99.4% +<.01%
=========================================
Files 34 34
Lines 1662 1676 +14
Branches 135 138 +3
=========================================
+ Hits 1652 1666 +14
Misses 5 5
Partials 5 5
Continue to review full report at Codecov.
|
Would like some feedback on the tests. |
This only does it for the customer's changelist view now, but it meant
to be generic enough for other admins.
You can easily see the number of queries going down when using django-debug-toolbar or something similar.
TODO: