diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-28 17:39:14 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-29 07:53:02 -0400 |
| commit | 3d98941d5c1b0ed9ff89cbf5b1cf6af24964d759 (patch) | |
| tree | e3b0ab5f509805fc112b31f8aa68654859fec26e /django/db/models/sql | |
| parent | d099c03789cb88e450002ceaf072990b50052995 (diff) | |
[1.7.x] Fixed several typos in Django
Backport of 1dcc603eff from master
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index cb94989a05..6421f38796 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1491,7 +1491,7 @@ class Query(object): query.remove_inherited_models() # Add extra check to make sure the selected field will not be null - # since we are adding a IN <subquery> clause. This prevents the + # since we are adding an IN <subquery> clause. This prevents the # database from tripping over IN (...,NULL,...) selects and returning # nothing alias, col = query.select[0].col @@ -2091,7 +2091,7 @@ class JoinPromoter(object): # join. # Note that in this example we could just as well have the __gte # clause and the OR clause swapped. Or we could replace the __gte - # clause with a OR clause containing rel_a__col=1|rel_a__col=2, + # clause with an OR clause containing rel_a__col=1|rel_a__col=2, # and again we could safely demote to INNER. query.promote_joins(to_promote) query.demote_joins(to_demote) |
