  
      class IncorrectlyConfiguredRootView(generics.ListCreateAPIView):
          model = FilterableItem
          filter_class = MisconfiguredFilter
          filter_backend = filters.DjangoFilterBackend
  
      class FilterClassDetailView(generics.RetrieveAPIView):
          model = FilterableItem
          filter_class = SeveralFieldsFilter
          filter_backend = 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()
        filter_backends = (filters.DjangoFilterBackend,)
  
      class IncorrectlyConfiguredRootView(generics.ListCreateAPIView):
          model = FilterableItem
          filter_class = MisconfiguredFilter
        filter_backends = (filters.DjangoFilterBackend,)
  
      class FilterClassDetailView(generics.RetrieveAPIView):
          model = FilterableItem
          filter_class = SeveralFieldsFilter
          filter_backend = filters.DjangoFilterBackend
keep keep keep keep replace keep keep keep keep keep
 Fix PendingDeprecation warnings in tests 
rest_framework/tests/filters.py