#22745: ModelChoiceField and ModelMultipleChoiceField with RadioSelect and
CheckboxSelectMultiple widgets produce unnecessary db queries while
rendering form (particularily in contrib.admin)
-------------------------------------+-------------------------------------
Reporter: Althalus | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Forms | Resolution: fixed
Severity: Normal | Triage Stage: Ready for
Keywords: | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5e06fa1469180909c51c07151692412269e51ea3"]:
{{{
#!CommitTicketReference repository=""
revision="5e06fa1469180909c51c07151692412269e51ea3"
Fixed #22745 -- Prevented reevaluation of ModelChoiceField's queryset when
accesssing BoundField's attrs.
Thanks Christian Schmitt for review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22745#comment:7>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.1f3e77c68634f2d1f68fd62646da06bb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.