Skip to content

Commit bcc979a

Browse files
petedermottPeter Dermott
and
Peter Dermott
authored
fix: Replace _get_val_from_obj with value_from_object (#1980)
Co-authored-by: Peter Dermott <[email protected]>
1 parent 1111b30 commit bcc979a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mezzanine/core/fields.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def validate(self, value, instance):
9494
raise ValidationError(error)
9595

9696
def value_to_string(self, obj):
97-
value = self._get_val_from_obj(obj)
97+
value = self.value_to_string(obj)
9898
return ",".join(value)
9999

100100

0 commit comments

Comments
 (0)