Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made some negligible docstring fixes while I was poking around in the…

… depths of query.py

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3b6c5e5eb21b4aad296fb750f515e66ea5c01e65 1 parent d546179
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/sql/query.py
View
4 django/db/models/sql/query.py
@@ -1406,13 +1406,13 @@ def trim_joins(self, target, join_list, last, trim):
the final join is against the same column as we are comparing against,
and is an inner join, we can go back one step in a join chain and
compare against the LHS of the join instead (and then repeat the
- optimization). The result, potentially, involves less table joins.
+ optimization). The result, potentially, involves fewer table joins.
The 'target' parameter is the final field being joined to, 'join_list'
is the full list of join aliases.
The 'last' list contains offsets into 'join_list', corresponding to
- each component of the filter. Many-to-many relations, for example, add
+ each component of the filter. Many-to-many relations, for example, add
two tables to the join list and we want to deal with both tables the
same way, so 'last' has an entry for the first of the two tables and
then the table immediately after the second table, in that case.
Please sign in to comment.
Something went wrong with that request. Please try again.