summaryrefslogtreecommitdiff
path: root/tests/modeltests/custom_columns/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/custom_columns/models.py')
-rw-r--r--tests/modeltests/custom_columns/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/custom_columns/models.py b/tests/modeltests/custom_columns/models.py
index c09ca05557..b2b7261c89 100644
--- a/tests/modeltests/custom_columns/models.py
+++ b/tests/modeltests/custom_columns/models.py
@@ -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
+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