      Descend into a nested data structure, forcing any
      lazy translation strings into plain text.
      """
      if isinstance(data, list):
          return [
              _force_text_recursive(item) for item in data
          ]
      elif isinstance(data, dict):
          return dict([
              (key, _force_text_recursive(value))
 
</s> remove         return dict([
 </s> add         ret = dict([ </s> remove             raise ValidationError(self._errors)
 </s> add             raise ValidationError(self.errors)
        ret = [
      Descend into a nested data structure, forcing any
      lazy translation strings into plain text.
      """
      if isinstance(data, list):
        ret = [
              _force_text_recursive(item) for item in data
          ]
      elif isinstance(data, dict):
          return dict([
              (key, _force_text_recursive(value))
keep keep keep keep replace keep keep keep keep keep
 Errors in browsable API on error. Closes #3024. 
rest_framework/exceptions.py