summaryrefslogtreecommitdiff
path: root/tests/modeltests/reverse_lookup/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/reverse_lookup/models.py')
-rw-r--r--tests/modeltests/reverse_lookup/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/reverse_lookup/models.py b/tests/modeltests/reverse_lookup/models.py
index 80408ad761..ef385b4b18 100644
--- a/tests/modeltests/reverse_lookup/models.py
+++ b/tests/modeltests/reverse_lookup/models.py
@@ -55,5 +55,5 @@ __test__ = {'API_TESTS':"""
>>> Poll.objects.get(choice__name__exact="This is the answer")
Traceback (most recent call last):
...
-TypeError: Cannot resolve keyword 'choice' into field. Choices are: poll_choice, related_choice, id, question, creator
+FieldError: Cannot resolve keyword 'choice' into field. Choices are: creator, id, poll_choice, question, related_choice
"""}