      }
      empty = None
  
      def from_native(self, value):
          if value is None:
              return value
          if isinstance(value, datetime.datetime):
              return value
          if isinstance(value, datetime.date):
              value = datetime.datetime(value.year, value.month, value.day)
              if settings.USE_TZ:
 
</s> remove         return super(EmailField, self).from_native(value).strip()
 </s> add         ret = super(EmailField, self).from_native(value)
        if ret is None:
            return None
        return ret.strip() </s> remove         if value is None:
            return value
 </s> add         if value in validators.EMPTY_VALUES:
            return None

        if value in validators.EMPTY_VALUES:
            return None

      }
      empty = None
  
      def from_native(self, value):
        if value in validators.EMPTY_VALUES:
            return None

        if value in validators.EMPTY_VALUES:
            return None

          if isinstance(value, datetime.datetime):
              return value
          if isinstance(value, datetime.date):
              value = datetime.datetime(value.year, value.month, value.day)
              if settings.USE_TZ:
keep keep keep keep replace replace keep keep keep keep keep
 Deal with None and missing values 
rest_framework/fields.py