diff options
author | Liyang Zhang <sudo.liyang@gmail.com> | 2023-03-20 02:07:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 08:07:23 +0100 |
commit | f9f9215d3e5500d9a8d0bec0936480ba34d42e88 (patch) | |
tree | d5b1b014c7dd155ea466275cb37d906151d3ae13 /django | |
parent | b295b311712b598c053f7fa8cf6e6882217e35d9 (diff) | |
download | django-f9f9215d3e5500d9a8d0bec0936480ba34d42e88.tar.gz |
Fixed some typos in comments, docstrings, and tests.
Diffstat (limited to 'django')
-rw-r--r-- | django/core/files/utils.py | 2 | ||||
-rw-r--r-- | django/db/models/sql/query.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/files/utils.py b/django/core/files/utils.py index 85342b2f3f..611f932f6e 100644 --- a/django/core/files/utils.py +++ b/django/core/files/utils.py @@ -26,7 +26,7 @@ def validate_file_name(name, allow_relative_path=False): class FileProxyMixin: """ - A mixin class used to forward file methods to an underlaying file + A mixin class used to forward file methods to an underlying file object. The internal file object has to be called "file":: class FileProxy(FileProxyMixin): diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 0aa07e0b99..103fffa47d 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -699,7 +699,7 @@ class Query(BaseExpression): # All concrete fields that are not part of the defer mask must be # loaded. If a relational field is encountered it gets added to the # mask for it be considered if `select_related` and the cycle continues - # by recursively caling this function. + # by recursively calling this function. for field in opts.concrete_fields: field_mask = mask.pop(field.name, None) if field_mask is None: |