  from __future__ import unicode_literals
  import datetime
  from decimal import Decimal
  from django.core.paginator import Paginator
  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import unittest
  from rest_framework import generics, status, pagination, filters, serializers
  from rest_framework.compat import django_filters
 
</s> remove if django_filters:
    class DecimalFilter(django_filters.FilterSet):
        decimal = django_filters.NumberFilter(lookup_type='lt')

        class Meta:
            model = FilterableItem
            fields = ['text', 'decimal', 'date']

    class FilterFieldsRootView(generics.ListCreateAPIView):
        model = FilterableItem
        paginate_by = 10
        filter_class = DecimalFilter
        filter_backend = filters.DjangoFilterBackend


 </s> add  </s> remove        django-filter==0.5.4
 </s> add        django-filter==0.6a1 </s> remove        django-filter==0.5.4
 </s> add        django-filter==0.6a1 </s> remove        django-filter==0.5.4
 </s> add        django-filter==0.6a1 </s> remove        django-filter==0.5.4
 </s> add        django-filter==0.6a1
import django
  from __future__ import unicode_literals
  import datetime
  from decimal import Decimal
import django
  from django.core.paginator import Paginator
  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import unittest
  from rest_framework import generics, status, pagination, filters, serializers
  from rest_framework.compat import django_filters
keep keep add keep keep keep keep keep keep
 Use django-filter 0.6a1 and add database query count tests for paginated, filtered lists. 
rest_framework/tests/pagination.py