diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index a047f58b788..75a46485acd 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -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