Fixed #28466 -- Clarified the definition of a lazy relationship.

This commit is contained in:
Tim Graham 2017-08-07 15:51:46 -04:00
parent 5fe9b7b40a
commit 50a97edc1a
1 changed files with 2 additions and 2 deletions

View File

@ -1206,8 +1206,8 @@ need to use::
on_delete=models.CASCADE, on_delete=models.CASCADE,
) )
This sort of reference can be useful when resolving circular import This sort of reference, called a lazy relationship, can be useful when
dependencies between two applications. resolving circular import dependencies between two applications.
A database index is automatically created on the ``ForeignKey``. You can A database index is automatically created on the ``ForeignKey``. You can
disable this by setting :attr:`~Field.db_index` to ``False``. You may want to disable this by setting :attr:`~Field.db_index` to ``False``. You may want to