diff options
author | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-05-07 15:50:55 +0000 |
---|---|---|
committer | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-05-07 15:50:55 +0000 |
commit | a275d3da8ed8cea8c2c92fc15151f43fb56b42ce (patch) | |
tree | 9f9a7c291956a17587b898772c5949b7a44864cd /django/db | |
parent | 0f22c6a7c8a089e2381a058b4c472cf92699950e (diff) | |
download | django-a275d3da8ed8cea8c2c92fc15151f43fb56b42ce.tar.gz |
boulder-oracle-sprint: Merged to [5156]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db')
-rw-r--r-- | django/db/models/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py index 93dcdd1776..d31ccf003e 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -998,7 +998,7 @@ def lookup_inner(path, lookup_type, value, opts, table, column): field_choices(current_opts.get_all_related_many_to_many_objects(), True) + \ field_choices(current_opts.get_all_related_objects(), True) + \ field_choices(current_opts.fields, False) - raise TypeError, "Cannot resolve keyword '%s' into field, choices are: %s" % (name, ", ".join(choices)) + raise TypeError, "Cannot resolve keyword '%s' into field. Choices are: %s" % (name, ", ".join(choices)) # Check whether an intermediate join is required between current_table # and new_table. |