select_related should fetch reverse relations
|Reported by:||derelm||Owned by:||adrian|
|Component:||Database layer (models, ORM)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
select_related on a certain model A only fetches tables that are referenced from within that model A.
i think it should also fetch those models B that define a relation to A.
Change History (6)
comment:4 Changed 6 years ago by __alex__
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:5 Changed 6 years ago by kmtracey
- Resolution set to wontfix
- Status changed from reopened to closed