      A model with a slug-field.
      """
      model = SlugBasedModel
      serializer_class = SlugSerializer
  
  
  class TestRootView(TestCase):
      def setUp(self):
 
</s> remove         filter_backend = filters.DjangoFilterBackend
 </s> add         filter_backends = (filters.DjangoFilterBackend,) </s> remove         filter_backend = filters.DjangoFilterBackend
 </s> add         filter_backends = (filters.DjangoFilterBackend,) </s> remove         response = self.instance_view(request, pk=1).render()
 </s> add         response = instance_view(request, pk=1).render()
    lookup_field = 'slug'
      A model with a slug-field.
      """
      model = SlugBasedModel
      serializer_class = SlugSerializer
    lookup_field = 'slug'
  
  
  class TestRootView(TestCase):
      def setUp(self):
keep keep keep add keep keep keep keep
 Fix PendingDeprecation warnings in tests 
rest_framework/tests/generics.py