              else:
                  self._errors = {}
  
          if self._errors and raise_exception:
              raise ValidationError(self._errors)
  
          return not bool(self._errors)
  
      @property
      def data(self):
 
</s> remove         return [
 </s> add         ret = [ </s> remove         return dict([
 </s> add         ret = dict([
            raise ValidationError(self.errors)
              else:
                  self._errors = {}
  
          if self._errors and raise_exception:
            raise ValidationError(self.errors)
  
          return not bool(self._errors)
  
      @property
      def data(self):
keep keep keep keep replace keep keep keep keep keep
 Errors in browsable API on error. Closes #3024. 
rest_framework/serializers.py