1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

@ -1206,8 +1206,8 @@ need to use::
on_delete=models.CASCADE,
)
This sort of reference can be useful when resolving circular import
dependencies between two applications.
This sort of reference, called a lazy relationship, can be useful when
resolving circular import dependencies between two applications.
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