Opened 6 years ago

Closed 6 years ago

#11083 closed (invalid)

BackwardsIncompatibleChanges page does not mention OneToOneField change

Reported by: adurdin Owned by: nobody
Component: Uncategorized Version:
Severity: Keywords: wiki
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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.

Change History (1)

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed It's mentioned on the page linked here, just like the note says.

Note: See TracTickets for help on using tickets.
Back to Top