diff options
| author | Tim Graham <timograham@gmail.com> | 2017-08-07 15:51:46 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-08-07 15:51:46 -0400 |
| commit | 50a97edc1a01f3d5325f0be1b91e7c77c3ba7dc0 (patch) | |
| tree | 0be62cb4a069b4c8a094dfa84f89a56c4b9986b1 /docs | |
| parent | 5fe9b7b40acf73da3dd91c56b3534f0bab1fb3d0 (diff) | |
Fixed #28466 -- Clarified the definition of a lazy relationship.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 90c64539f5..ba631850b6 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -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 |
