Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made two small changes to comments in django.db.models.query

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 78c91dd7df8384cee620f6e7075891c829d7bc35 1 parent 2eb492b
Adrian Holovaty authored July 08, 2006

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  django/db/models/query.py
3  django/db/models/query.py
@@ -667,7 +667,7 @@ def get_cached_row(klass, row, index_start):
667 667
 def fill_table_cache(opts, select, tables, where, old_prefix, cache_tables_seen):
668 668
     """
669 669
     Helper function that recursively populates the select, tables and where (in
670  
-    place) for fill-cache queries.
  670
+    place) for select_related queries.
671 671
     """
672 672
     for f in opts.fields:
673 673
         if f.rel and not f.null:
@@ -688,6 +688,7 @@ def fill_table_cache(opts, select, tables, where, old_prefix, cache_tables_seen)
688 688
 def parse_lookup(kwarg_items, opts):
689 689
     # Helper function that handles converting API kwargs
690 690
     # (e.g. "name__exact": "tom") to SQL.
  691
+    # Returns a tuple of (tables, joins, where, params).
691 692
 
692 693
     # 'joins' is a sorted dictionary describing the tables that must be joined
693 694
     # to complete the query. The dictionary is sorted because creation order

0 notes on commit 78c91dd

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