#36135: Prefetching a reverse GenericRelation raises AttributeError
--------------------------------------+------------------------------------
     Reporter:  john                  |                    Owner:  (none)
         Type:  Bug                   |                   Status:  new
    Component:  contrib.contenttypes  |                  Version:  5.1
     Severity:  Normal                |               Resolution:
     Keywords:  prefetch              |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Simon Charette):

 * summary:  Prefetching a GenericRelation raises AttributeError =>
     Prefetching a reverse GenericRelation raises AttributeError

Comment:

 Changing the title as direct `GenericRelation` fetching works but their
 reverse, as defined by `related_query_name`, doesn't.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36135#comment:2>
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/0107019499905dbe-832b6e37-f46a-4002-95b1-66322a71d78e-000000%40eu-central-1.amazonses.com.

Reply via email to