summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-07-08 14:17:45 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-07-08 14:17:45 +0000
commit78c91dd7df8384cee620f6e7075891c829d7bc35 (patch)
tree5e41be2cde604ae47cfde5e3337157eeca347725 /django
parent2eb492ba6010b71b81119c5bbf1763ce9ff984d3 (diff)
downloaddjango-78c91dd7df8384cee620f6e7075891c829d7bc35.tar.gz
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
Diffstat (limited to 'django')
-rw-r--r--django/db/models/query.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py
index 73af5f54dd..6d3acef703 100644
--- a/django/db/models/query.py
+++ b/django/db/models/query.py
@@ -667,7 +667,7 @@ def get_cached_row(klass, row, index_start):
def fill_table_cache(opts, select, tables, where, old_prefix, cache_tables_seen):
"""
Helper function that recursively populates the select, tables and where (in
- place) for fill-cache queries.
+ place) for select_related queries.
"""
for f in opts.fields:
if f.rel and not f.null:
@@ -688,6 +688,7 @@ def fill_table_cache(opts, select, tables, where, old_prefix, cache_tables_seen)
def parse_lookup(kwarg_items, opts):
# Helper function that handles converting API kwargs
# (e.g. "name__exact": "tom") to SQL.
+ # Returns a tuple of (tables, joins, where, params).
# 'joins' is a sorted dictionary describing the tables that must be joined
# to complete the query. The dictionary is sorted because creation order