summaryrefslogtreecommitdiff
path: root/tests/basic/models.py
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-11-20 16:25:49 -0500
committerTim Graham <timograham@gmail.com>2014-11-20 16:26:25 -0500
commitd8f00e1918ce4df76920f3d79bc8d805fa69e29e (patch)
tree56c4549f174d8f2fb2b519a5da2e355f10685fad /tests/basic/models.py
parent4c709cc0ef0daa2b527e056865f51796fb0d42f3 (diff)
Added a comment for test of refs #20278.
Diffstat (limited to 'tests/basic/models.py')
-rw-r--r--tests/basic/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic/models.py b/tests/basic/models.py
index 5496e6b409..86d0f0c4e4 100644
--- a/tests/basic/models.py
+++ b/tests/basic/models.py
@@ -32,4 +32,6 @@ class SelfRef(models.Model):
related_name='+')
def __str__(self):
+ # This method intentionally doesn't work for all cases - part
+ # of the test for ticket #20278
return SelfRef.objects.get(selfref=self).pk