#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:"e244d8bbb743eec413eb241139b6345885db39d9" e244d8bb]:
 {{{#!CommitTicketReference repository=""
 revision="e244d8bbb743eec413eb241139b6345885db39d9"
 Refs #28586 - Copied fetch mode in QuerySet.create().

 This change allows the pattern
 `MyModel.objects.fetch_mode(...).create(...)` to
 set the fetch mode for a new object.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/28586#comment:27>
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/01070199ee5dcac5-668321a6-14bf-493b-a8fa-1e938a968f43-000000%40eu-central-1.amazonses.com.

Reply via email to