mirror of
https://github.com/django/django.git
synced 2025-07-17 16:19:12 +00:00
[3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
Backport of d202846ced2f58d7a34ad80bfe2bde8a542a70b9 from master
This commit is contained in:
parent
a24686987f
commit
8712027b22
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user