#28586: Automatically prefetch related for "to one" fields as needed.
-------------------------------------+-------------------------------------
Reporter: Gordon Wrigley | Owner: Adam
| Johnson
Type: New feature | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: prefetch_related, | Triage Stage: Ready for
fetch | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"821619aa8771ef211c4c4922001efdf914201ca3" 821619aa]:
{{{#!CommitTicketReference repository=""
revision="821619aa8771ef211c4c4922001efdf914201ca3"
Refs #28586 -- Simplified related descriptor get_queryset() methods.
Modify these methods to accept an instance parameter which is clearer and
allows us to set the instance hint earlier.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28586#comment:25>
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 visit
https://groups.google.com/d/msgid/django-updates/01070199ee5dca3f-c790b0de-3d42-42e3-b7d2-fe4934b417b8-000000%40eu-central-1.amazonses.com.