Commit 782c1a77 authored by Ramiro Morales's avatar Ramiro Morales
Browse files

Fixed #17999 -- Added a 'See also' paragraph to OneToOneField doc section.

Thanks creecocde for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 9ddbed6f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -555,8 +555,9 @@ can be made; see :ref:`the model field reference <ref-onetoone>` for details.

.. seealso::

:class:`~django.db.models.OneToOneField` fields also accept one optional argument
described in the :ref:`model field reference <ref-onetoone>`.
    :class:`~django.db.models.OneToOneField` fields also accept one specific,
    optional ``parent_link`` argument described in the :ref:`model field
    reference <ref-onetoone>`.

:class:`~django.db.models.OneToOneField` classes used to automatically become
the primary key on a model. This is no longer true (although you can manually