summaryrefslogtreecommitdiff
path: root/django/db/models/query_utils.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-03-31 08:50:25 +0200
committerGitHub <noreply@github.com>2022-03-31 08:50:25 +0200
commit0db0a25d8421ff7fda7ef2c5999b263261b04d93 (patch)
treecd3f3e59d7243bfad49c9e1950ff78047ceab5ae /django/db/models/query_utils.py
parentc8459708a7e0a2474255b77d0f104a7f16e8b32c (diff)
Updated select_related_descend() comment.
Outdated since 0c7633178fa9410f102e4708cef979b873bccb76.
Diffstat (limited to 'django/db/models/query_utils.py')
-rw-r--r--django/db/models/query_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py
index fde686b2cd..0caa165e15 100644
--- a/django/db/models/query_utils.py
+++ b/django/db/models/query_utils.py
@@ -223,8 +223,8 @@ def select_related_descend(field, restricted, requested, load_fields, reverse=Fa
"""
Return True if this field should be used to descend deeper for
select_related() purposes. Used by both the query construction code
- (sql.query.fill_related_selections()) and the model instance creation code
- (query.get_klass_info()).
+ (compiler.get_related_selections()) and the model instance creation code
+ (compiler.klass_info).
Arguments:
* field - the field to be checked