#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.