Skip to content

Commit

Permalink
fix: fix infinite loop in value_to_string method (#1999)
Browse files Browse the repository at this point in the history
Co-authored-by: AbdellaouiSofiane <[email protected]>
  • Loading branch information
aparakian and AbdellaouiSofiane authored Nov 18, 2021
1 parent c0c3d76 commit e33ff62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine/core/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def validate(self, value, instance):
raise ValidationError(error)

def value_to_string(self, obj):
value = self.value_to_string(obj)
value = self.value_from_object(obj)
return ",".join(value)


Expand Down

0 comments on commit e33ff62

Please sign in to comment.