#27554: Queryset evaluation fails with mix of nested and flattened prefetches
(AttributeError on RelatedManager)
-------------------------------------+-------------------------------------
     Reporter:  Anthony Leontiev     |                    Owner:  François
                                     |  Freitag
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  prefetch             |             Triage Stage:  Ready for
  AttributeError prefetch_related    |  checkin
  nested RelatedManager              |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"c679ac04499798e366ca594f97e4f95d3da3682f" c679ac04]:
 {{{
 #!CommitTicketReference repository=""
 revision="c679ac04499798e366ca594f97e4f95d3da3682f"
 [1.11.x] Fixed #27554 -- Fixed prefetch_related() crash when fetching
 relations in nested Prefetches.

 Backport of c0a2b9508aa2c6eaa22e9787010276edca887f0b from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27554#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.0da358d9628033981c6514a4a56412ab%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to