Skip to content

Commit

Permalink
Close django-commons#1509: Revert the infinite recursion fix, Django …
Browse files Browse the repository at this point in the history
…has changed the behavior
  • Loading branch information
matthiask committed Jul 5, 2024
1 parent 7acad6b commit 504b151
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 504b151

Please sign in to comment.