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:53:44 -0400 |
| commit | 05a828a1aea83f499da15dbaaa98a4ce21f7381b (patch) | |
| tree | 65aba9519acfdc8488d6fde0917931061818066a /docs | |
| parent | a49764dd9daa11c4e24bad84423f71711b3e0de0 (diff) | |
[1.11.x] Fixed #28466 -- Clarified the definition of a lazy relationship.
Backport of 50a97edc1a01f3d5325f0be1b91e7c77c3ba7dc0 from master
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 cdc4371d37..487de45641 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -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 |
