#22508: select_related on a foreign related object fails to load fields on 
original
object
-------------------------------------+-------------------------------------
     Reporter:  boxm                 |                    Owner:  aaugustin
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  1.6
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * has_patch:  0 => 1


Comment:

 I've sent a pull request: https://github.com/django/django/pull/2646. The
 fix is straightforward.

 Since this can cause silent performance regressions, I would suggest
 backporting f574220f0988f3aa1aca4f133887fbde0e5a6f10 to 1.7, 1.6 and 1.5.

 `QuerySet.iterator` is growing a bit complex and might benefit from a
 refactoring.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22508#comment:5>
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.3d379ebabcc4f4ba7d9a3ba345ee72cb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to