diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
| commit | 2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch) | |
| tree | 6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /django/db/models/sql/query.py | |
| parent | 8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff) | |
Fix many many typos in comments throughout the codebase
Diffstat (limited to 'django/db/models/sql/query.py')
| -rw-r--r-- | django/db/models/sql/query.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 28003611ff..92bfdb1881 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -199,7 +199,7 @@ class Query(object): def sql_with_params(self): """ Returns the query as an SQL string and the parameters that will be - subsituted into the query. + substituted into the query. """ return self.get_compiler(DEFAULT_DB_ALIAS).as_sql() @@ -675,7 +675,7 @@ class Query(object): alias = '%s%d' % (self.alias_prefix, len(self.alias_map) + 1) current.append(alias) else: - # The first occurence of a table uses the table name directly. + # The first occurrence of a table uses the table name directly. alias = table_name self.table_map[alias] = [alias] self.alias_refcount[alias] = 1 @@ -1242,7 +1242,7 @@ class Query(object): """ having_parts = [] for c in q_object.children[:]: - # When constucting the having nodes we need to take care to + # When constructing the having nodes we need to take care to # preserve the negation status from the upper parts of the tree if isinstance(c, Node): # For each negated child, flip the in_negated flag. @@ -1802,7 +1802,7 @@ class Query(object): """ If any fields are marked to be deferred, returns a dictionary mapping models to a set of names in those fields that will be loaded. If a - model is not in the returned dictionary, none of it's fields are + model is not in the returned dictionary, none of its fields are deferred. If no fields are marked for deferral, returns an empty dictionary. |
