mirror of
https://github.com/django/django.git
synced 2025-12-03 16:47:26 +00:00
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
parent
6acaa52386
commit
0d91225892
121 changed files with 208 additions and 208 deletions
|
|
@ -568,7 +568,7 @@ class Query(object):
|
|||
Converts the self.deferred_loading data structure to an alternate data
|
||||
structure, describing the field that *will* be loaded. This is used to
|
||||
compute the columns to select from the database and also by the
|
||||
QuerySet class to work out which fields are being initialised on each
|
||||
QuerySet class to work out which fields are being initialized on each
|
||||
model. Models that have all their fields included aren't mentioned in
|
||||
the result, only those that have field restrictions in place.
|
||||
|
||||
|
|
@ -1767,7 +1767,7 @@ class Query(object):
|
|||
"""
|
||||
# Fields on related models are stored in the literal double-underscore
|
||||
# format, so that we can use a set datastructure. We do the foo__bar
|
||||
# splitting and handling when computing the SQL colum names (as part of
|
||||
# splitting and handling when computing the SQL column names (as part of
|
||||
# get_columns()).
|
||||
existing, defer = self.deferred_loading
|
||||
if defer:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue