Skip to content

Commit

Permalink
Close #1509: Revert the infinite recursion fix, Django has changed th…
Browse files Browse the repository at this point in the history
…e behavior (#1955)
  • Loading branch information
matthiask committed Jul 5, 2024
1 parent 7acad6b commit dfad5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class TemplateReprForm(forms.Form):
user = forms.ModelChoiceField(queryset=User.objects.all())

def __repr__(self):
return repr(self)
return str(self)

0 comments on commit dfad5db

Please sign in to comment.