BackwardsIncompatibleChanges page does not mention OneToOneField change
|Reported by:||adurdin||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
After queryset-refactor, OneToOneFields are no longer automatically the primary key of a model. To make older code work post-queryset-refactor, the keyword argument primary_key=True must be added to the field instantiation.
I would have updated the wiki page, but do not appear to have permissions to edit it.