      providing an API similar to Django forms and form fields.
      """
      def __init__(self, field, value, errors, prefix=''):
          self._field = field
          self.value = value
          self.errors = errors
          self.name = prefix + self.field_name
  
 
</s> remove from rest_framework.compat import OrderedDict, unicode_to_repr
 </s> add from rest_framework.compat import OrderedDict, force_text, unicode_to_repr
        self._prefix = prefix
      providing an API similar to Django forms and form fields.
      """
      def __init__(self, field, value, errors, prefix=''):
          self._field = field
        self._prefix = prefix
          self.value = value
          self.errors = errors
          self.name = prefix + self.field_name
  
keep keep keep add keep keep keep keep
 Form fields should use textual only value representations. Closes #3139. Closes #2416. Closes #2558. 
rest_framework/utils/serializer_helpers.py