          url = request and request.build_absolute_uri() or ''
          return replace_query_param(url, self.page_field, page)
  
  
  class DefaultObjectSerializer(serializers.Field):
      """
      If no object serializer is specified, then this serializer will be applied
      as the default.
      """
  
 
</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                          f['decimal'] < search_decimal]
 </s> add                          Decimal(f['decimal']) < search_decimal] </s> remove         return data
 </s> add         raise NotImplementedError('to_native() must be implemented.') </s> remove         return value
 </s> add         raise NotImplementedError('to_primative() must be implemented.') </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}
class DefaultObjectSerializer(serializers.ReadOnlyField):
          url = request and request.build_absolute_uri() or ''
          return replace_query_param(url, self.page_field, page)
  
  
class DefaultObjectSerializer(serializers.ReadOnlyField):
      """
      If no object serializer is specified, then this serializer will be applied
      as the default.
      """
  
keep keep keep keep replace keep keep keep keep keep
 NotImplemented stubs for Field, and DecimalField improvements 
rest_framework/pagination.py