def set_python(self, value):
<EOL>if value is not None and not isinstance(value, self.supported_types) or isinstance(value, int):<EOL><INDENT>value = str(value)<EOL><DEDENT>return super(TextField, self).set_python(value)<EOL>
Set field internal value from the python representation of field value