#34593: Django admin list does same Count query twice when there are no filters
-------------------------------------+-------------------------------------
Reporter: Alex | Owner: Alex
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
I share Mariusz concerns, I'm not sure it's worth trying to be extra
clever here given the many hooks the admin exposes to configure returned
results and the fact `show_full_result_count = False` can disable the
extra count entirely in cases where it's expensive enough to consider this
option.
--
Ticket URL: <https://code.djangoproject.com/ticket/34593#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c3dab2b61-17bd629f-e3cd-4f3c-bdc3-d1260827feb1-000000%40eu-central-1.amazonses.com.