Changes between Initial Version and Version 4 of Ticket #25173
- Timestamp:
- Oct 9, 2015, 8:32:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25173
- Property Triage Stage Unreviewed → Accepted
- Property Resolution → duplicate
- Property Status new → closed
- Property Summary Model inheritance and select_related → multi-table inheritance: accessing child object after select_related('child') causes extra query
-
Ticket #25173 – Description
initial v4 21 21 }}} 22 22 23 Because I use select_related this should result in just one query. But somehow the information is lost during downcasting and I get t o sql queries:23 Because I use select_related this should result in just one query. But somehow the information is lost during downcasting and I get two sql queries: 24 24 25 25 {{{