Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed comment typos.

  • Loading branch information...
1 parent 6310d65 commit ec73ce5d8a0bc3643188d97629c30d226849bddc @AlexHill AlexHill committed with timgraham
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/sql/
4 django/db/models/sql/
@@ -1232,7 +1232,7 @@ def add_q(self, q_object):
q_object.clone(), q_object.negated)
# For join promotion this case is doing an AND for the added q_object
# and existing conditions. So, any existing inner join forces the join
- # type to remain inner. Exsting outer joins can however be demoted.
+ # type to remain inner. Existing outer joins can however be demoted.
# (Consider case where rel_a is LOUTER and rel_a__col=1 is added - if
# rel_a doesn't produce any rows, then the whole condition must fail.
# So, demotion is OK.
@@ -1279,7 +1279,7 @@ def names_to_path(self, names, opts, allow_many):
single name in 'names' can generate multiple PathInfos (m2m for
- 'names' is the path of names to travle, 'opts' is the model Options we
+ 'names' is the path of names to travel, 'opts' is the model Options we
start the name resolving from, 'allow_many' is as for setup_joins().
Returns a list of PathInfo tuples. In addition returns the final field

0 comments on commit ec73ce5

Please sign in to comment.
Something went wrong with that request. Please try again.