mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.11.x] Fixed #28466 -- Clarified the definition of a lazy relationship.
Backport of 50a97edc1a from master
This commit is contained in:
@@ -1223,8 +1223,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
|
||||||
|
|||||||
Reference in New Issue
Block a user