mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
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
This commit is contained in:
parent
3d52993b46
commit
1889db475d
6 changed files with 8 additions and 8 deletions
|
@ -71,7 +71,7 @@ __test__ = {'API_TESTS':"""
|
|||
>>> Author.objects.filter(firstname__exact='John')
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: Cannot resolve keyword 'firstname' into field, choices are: article, id, first_name, last_name
|
||||
TypeError: Cannot resolve keyword 'firstname' into field. Choices are: article, id, first_name, last_name
|
||||
|
||||
>>> a = Author.objects.get(last_name__exact='Smith')
|
||||
>>> a.first_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue