#15957: ModelChoiceField slow performance
------------------------------------------------+------------------------
Reporter: uriel.bertoche@… | Owner: nobody
Type: Cleanup/optimization | Status: closed
Milestone: | Component: Forms
Version: 1.3 | Severity: Normal
Resolution: wontfix | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
------------------------------------------------+------------------------
Comment (by anonymous):
changing the SQL query it makes would improve it. instead of getting all
entries and then fetching their __unicode__ one by one, you could get all
entries and fetch all of them in one single SQL.
--
Ticket URL: <http://code.djangoproject.com/ticket/15957#comment:2>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.