Fixes #702: Improved Unicode support for custom fields

This commit is contained in:
Jeremy Stretch 2016-11-29 13:34:22 -05:00
parent fa5b10d84a
commit 96cffd9295

View File

@ -130,7 +130,7 @@ class CustomField(models.Model):
if self.type == CF_TYPE_SELECT:
# Could be ModelChoiceField or TypedChoiceField
return str(value.id) if hasattr(value, 'id') else str(value)
return str(value)
return value
def deserialize_value(self, serialized_value):
"""