          })
          response = view(request).render()
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          expected_data = [f for f in self.data if f['date'] > search_date and
                           f['decimal'] < search_decimal]
          self.assertEqual(response.data, expected_data)
  
      @unittest.skipUnless(django_filters, 'django-filter not installed')
      def test_incorrectly_configured_filter(self):
          """
 
</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} </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 class DefaultObjectSerializer(serializers.Field):
 </s> add class DefaultObjectSerializer(serializers.ReadOnlyField): </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.')
                         Decimal(f['decimal']) < search_decimal]
          })
          response = view(request).render()
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          expected_data = [f for f in self.data if f['date'] > search_date and
                         Decimal(f['decimal']) < search_decimal]
          self.assertEqual(response.data, expected_data)
  
      @unittest.skipUnless(django_filters, 'django-filter not installed')
      def test_incorrectly_configured_filter(self):
          """
keep keep keep keep replace keep keep keep keep keep
 NotImplemented stubs for Field, and DecimalField improvements 
tests/test_filters.py