      """
  
      def setUp(self):
          """
          Create 26 BasicModel intances.
          """
          for char in 'abcdefghijklmnopqrstuvwxyz':
              BasicModel(text=char * 3).save()
          self.objects = BasicModel.objects
          self.data = [
 
</s> remove         self.object_list = self.get_queryset()
 </s> add         self.object_list = self.get_filtered_queryset() </s> remove Generic views that provide commmonly needed behaviour.
 </s> add Generic views that provide commonly needed behaviour. </s> remove 
 </s> add import django_filters
        Create 26 BasicModel instances.
      """
  
      def setUp(self):
          """
        Create 26 BasicModel instances.
          """
          for char in 'abcdefghijklmnopqrstuvwxyz':
              BasicModel(text=char * 3).save()
          self.objects = BasicModel.objects
          self.data = [
keep keep keep keep replace keep keep keep keep keep
 First attempt at adding filter support.

The filter support uses django-filter to work its magic. 
rest_framework/tests/pagination.py