

def as_form_field(self):
    value = ('' if ((value.value is None) or (self.value is False)) else force_text(self.value))
    return self.__class__(self._field, value, self.errors, self._prefix)

dataset/ETHPy150Open tomchristie/django-rest-framework/rest_framework/utils/serializer_helpers.py BoundField.as_form_field/VarMisuse@17/20 `self`->`value`