  from django.utils import unittest
  from rest_framework import generics, status, pagination
  from rest_framework.tests.models import BasicModel, FilterableItem
  
  factory = RequestFactory()
  
  
  class RootView(generics.ListCreateAPIView):
 
</s> remove import django_filters
 </s> add  </s> remove import django_filters
 </s> add 
from rest_framework.compat import django_filters
  from django.utils import unittest
  from rest_framework import generics, status, pagination
from rest_framework.compat import django_filters
  from rest_framework.tests.models import BasicModel, FilterableItem
  
  factory = RequestFactory()
  
  
  class RootView(generics.ListCreateAPIView):
keep add keep keep keep keep keep keep
 Make filtering optional, and pluggable. 
rest_framework/tests/pagination.py