1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed some typos in comments, docstrings, and tests.

This commit is contained in:
Liyang Zhang
2023-03-20 02:07:23 -05:00
committed by GitHub
parent b295b31171
commit f9f9215d3e
9 changed files with 9 additions and 9 deletions

View File

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

View File

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