  """
  Generic views that provide commmonly needed behaviour.
  """
  
  from rest_framework import views, mixins
  from rest_framework.settings import api_settings
  from django.views.generic.detail import SingleObjectMixin
 
</s> remove 
 </s> add import django_filters </s> remove from rest_framework.tests.models import BasicModel
 </s> add from rest_framework.tests.models import BasicModel, FilterableItem
import django_filters </s> remove         Create 26 BasicModel intances.
 </s> add         Create 26 BasicModel instances. </s> remove         self.object_list = self.get_queryset()
 </s> add         self.object_list = self.get_filtered_queryset()
Generic views that provide commonly needed behaviour.
  """
Generic views that provide commonly needed behaviour.
  """
  
  from rest_framework import views, mixins
  from rest_framework.settings import api_settings
  from django.views.generic.detail import SingleObjectMixin
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/generics.py