Author: adrian Date: 2011-04-11 14:48:47 -0700 (Mon, 11 Apr 2011) New Revision: 16025
Modified: django/trunk/django/db/models/sql/query.py Log: Made some negligible docstring fixes while I was poking around in the depths of query.py Modified: django/trunk/django/db/models/sql/query.py =================================================================== --- django/trunk/django/db/models/sql/query.py 2011-04-11 20:27:53 UTC (rev 16024) +++ django/trunk/django/db/models/sql/query.py 2011-04-11 21:48:47 UTC (rev 16025) @@ -1406,13 +1406,13 @@ 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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.