#32089: prefetch_related_objects() does not work for reused model instances.
-------------------------------------+-------------------------------------
     Reporter:  Dennis Kliban        |                    Owner:
                                     |  AlexeyNigin
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b9ba85a7ce582f4821a21119a6c130dacab496c4" b9ba85a]:
 {{{
 #!CommitTicketReference repository=""
 revision="b9ba85a7ce582f4821a21119a6c130dacab496c4"
 Fixed #32089 -- Fixed prefetch_related_objects() when some objects are
 already fetched.

 Thanks Dennis Kliban for the report and Adam Johnson for the initial
 patch.

 Co-authored-by: Adam Johnson <[email protected]>
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32089#comment:11>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4903284c00d03756b6c234803056d78a%40djangoproject.com.

Reply via email to