summaryrefslogtreecommitdiff
path: root/tests/modeltests/reverse_lookup/models.py
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2008-04-27 17:17:04 +0000
committerJustin Bronn <jbronn@gmail.com>2008-04-27 17:17:04 +0000
commite973fea91c4e5924f1d0d709b9c8f0d069380709 (patch)
tree135c266171c5492bbb095e333e9737eb87c32665 /tests/modeltests/reverse_lookup/models.py
parent5456919782e5cd0b885dd383d57e187a06148307 (diff)
gis: Merged revisions 7458,7471-7473,7476-7478,7480 via svnmerge from trunk.
This includes all necessary patches for compatibility with queryset-refactor. git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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
"""}