Skip to content

Commit 504b151

Browse files
committed
Close #1509: Revert the infinite recursion fix, Django has changed the behavior
1 parent 7acad6b commit 504b151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/forms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ class TemplateReprForm(forms.Form):
66
user = forms.ModelChoiceField(queryset=User.objects.all())
77

88
def __repr__(self):
9-
return repr(self)
9+
return str(self)

0 commit comments

Comments
 (0)