Breaking change regarding select_related+OneToOneField missing from release notes
|Reported by:||marcin@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Django 1.5 made changes to the way select_related interacts with OneToOneField reverse relations: https://code.djangoproject.com/ticket/13839
This is a breaking change and was not included in the release notes.
The behaviour of this interaction was previously undocumented (and had an open bug), but since it is core ORM functionality, I don't think you can fault people for relying on it.
Please document it in 1.5's release notes, preferably with its own paragraph.
Change History (9)
comment:1 Changed 3 years ago by akaariai
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:7 Changed 3 years ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed