1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

Added a comment for test of refs #20278.

This commit is contained in:
Anssi Kääriäinen 2014-11-20 16:25:49 -05:00 committed by Tim Graham
parent 4c709cc0ef
commit d8f00e1918

View File

@ -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