Skip to content

Commit

Permalink
[3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_li…
Browse files Browse the repository at this point in the history
…nk in MTI docs.

Backport of d202846 from master
  • Loading branch information
felixxm committed Jan 15, 2020
1 parent a246869 commit 8712027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/topics/db/models.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,7 @@ The automatically-created :class:`~django.db.models.OneToOneField` on
place_ptr = models.OneToOneField(
Place, on_delete=models.CASCADE,
parent_link=True,
primary_key=True,
)

You can override that field by declaring your own
Expand Down

0 comments on commit 8712027

Please sign in to comment.