diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-05-06 04:12:08 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-05-06 04:12:08 +0000 |
| commit | 1889db475db596c201c1f57523792f6a0babdf12 (patch) | |
| tree | c76bcccc38737ca17b7bde14b7da59f96bf33aef /django | |
| parent | 3d52993b46070cf3d34c91cd107511918de9d8e0 (diff) | |
Fixed comma splice in error message introduced in [5133]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -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 06163677d4..87af774a36 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -948,7 +948,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. |
