Updated select_related_descend() comment.

Outdated since 0c7633178f.
This commit is contained in:
Mariusz Felisiak 2022-03-31 08:50:25 +02:00 committed by GitHub
parent c8459708a7
commit 0db0a25d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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