mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[1.11.x] Fixed #28466 -- Clarified the definition of a lazy relationship.
Backport of 50a97edc1a
from master
This commit is contained in:
parent
a49764dd9d
commit
05a828a1ae
1 changed files with 2 additions and 2 deletions
|
@ -1223,8 +1223,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue