      def to_native(self, data):
          """
          Transform the *incoming* primative data into a native value.
          """
          return data
  
      def to_primative(self, value):
          """
          Transform the *outgoing* native value into primative data.
          """
 
</s> remove         return value
 </s> add         raise NotImplementedError('to_primative() must be implemented.') </s> remove class DefaultObjectSerializer(serializers.Field):
 </s> add class DefaultObjectSerializer(serializers.ReadOnlyField): </s> remove                          f['decimal'] < search_decimal]
 </s> add                          Decimal(f['decimal']) < search_decimal] </s> remove     def __init__(self, max_value=None, min_value=None, max_digits=None, decimal_places=None, **kwargs):
        self.max_value, self.min_value = max_value, min_value
        self.max_digits, self.max_decimal_places = max_digits, decimal_places
 </s> add     def __init__(self, max_digits, decimal_places, coerce_to_string=True, max_value=None, min_value=None, **kwargs):
        self.max_digits = max_digits
        self.decimal_places = decimal_places
        self.coerce_to_string = coerce_to_string </s> remove             {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date}
 </s> add             {'id': obj.id, 'text': obj.text, 'decimal': str(obj.decimal), 'date': obj.date}
        raise NotImplementedError('to_native() must be implemented.')
      def to_native(self, data):
          """
          Transform the *incoming* primative data into a native value.
          """
        raise NotImplementedError('to_native() must be implemented.')
  
      def to_primative(self, value):
          """
          Transform the *outgoing* native value into primative data.
          """
keep keep keep keep replace keep keep keep keep keep
 NotImplemented stubs for Field, and DecimalField improvements 
rest_framework/fields.py