[3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.

Backport of d202846ced from master
This commit is contained in:
Mariusz Felisiak 2020-01-15 15:07:07 +01:00
parent a24686987f
commit 8712027b22
1 changed files with 1 additions and 0 deletions

View File

@ -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