#19607: prefetch_related bug
-------------------------------------+-------------------------------------
     Reporter:  av@…                 |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:  prefetch             |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by xyzman):

 * status:  closed => new
 * has_patch:  0 => 1
 * resolution:  needsinfo =>


Comment:

 The issue is hard to reproduce, but it seems to occur more when queryset
 has nested relations with more than one related object in "child" data
 set.

 Anyway, proposed patch fixes the issue completely, and from quick review
 it looks like there was either a typo or logical mistake. Anyway, fixing
 it here seems better than spending hours on trying to reproduce it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19607#comment:3>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to