[3.0.x] Changed some doc links to use intersphinx.

Backport of 494ba27b5f from master
This commit is contained in:
Jon Dufresne 2020-05-29 12:09:57 -07:00 committed by Mariusz Felisiak
parent 066076afaa
commit 9f30a7ebd3
2 changed files with 5 additions and 8 deletions

View file

@ -1076,8 +1076,9 @@ Using the models at the top of this page, for example, an ``Entry`` object ``e``
can get its associated ``Blog`` object by accessing the ``blog`` attribute:
``e.blog``.
(Behind the scenes, this functionality is implemented by Python descriptors_.
This shouldn't really matter to you, but we point it out here for the curious.)
(Behind the scenes, this functionality is implemented by Python
:doc:`descriptors <python:howto/descriptor>`. This shouldn't really matter to
you, but we point it out here for the curious.)
Django also creates API accessors for the "other" side of the relationship --
the link from the related model to the model that defines the relationship.
@ -1087,8 +1088,6 @@ For example, a ``Blog`` object ``b`` has access to a list of all related
All examples in this section use the sample ``Blog``, ``Author`` and ``Entry``
models defined at the top of this page.
.. _descriptors: https://docs.python.org/howto/descriptor.html
One-to-many relationships
-------------------------