summaryrefslogtreecommitdiff
path: root/tests/modeltests/many_to_one_null/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/many_to_one_null/models.py')
-rw-r--r--tests/modeltests/many_to_one_null/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/many_to_one_null/models.py b/tests/modeltests/many_to_one_null/models.py
index 6818493ee3..638382107a 100644
--- a/tests/modeltests/many_to_one_null/models.py
+++ b/tests/modeltests/many_to_one_null/models.py
@@ -103,7 +103,7 @@ None
>>> r.article_set.remove(a4)
Traceback (most recent call last):
...
-DoesNotExist: 'Fourth' is not related to 'John Smith'.
+DoesNotExist: 'Article object' is not related to 'Reporter object'.
>>> r2.article_set.all()
[Fourth]