#11295: If ModelAdmin.queryset returns a filtered QS don't require a 2nd count
call
--------------------------------------+------------------------------------
Reporter: Alex | Owner: viciu
Type: Cleanup/optimization | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Wiktor Kolodziej <wiktor@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f07a5f0a21857204465019b4e68f914d31cb396a"]:
{{{
#!CommitTicketReference repository=""
revision="f07a5f0a21857204465019b4e68f914d31cb396a"
Fixed #11295: If ModelAdmin.queryset returns a filtered QS don't require a
2nd count call
Original patch rewritten, added tests and get_filters_params method for
ChangeList class.
Thanks Alex for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/11295#comment:9>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.