  returned by list views.
  """
  from __future__ import unicode_literals
  from django.db import models
  from rest_framework.compat import django_filters, six
  from functools import reduce
  import operator
  
  FilterSet = django_filters and django_filters.FilterSet or None
  
 
</s> remove     def _get_names(self, view):
 </s> add     def _get_model_name(self, view): </s> remove             model_name = self._get_names(view)
            view.queryset = guardian.shortcuts.get_objects_for_user(user, 'read_' + model_name, queryset)  #TODO: move to filter
 </s> add             view.queryset = ObjectPermissionReaderFilter().filter_queryset(request, queryset, view) </s> remove             user = request.user
 </s> add 
from rest_framework.compat import django_filters, six, guardian
  returned by list views.
  """
  from __future__ import unicode_literals
  from django.db import models
from rest_framework.compat import django_filters, six, guardian
  from functools import reduce
  import operator
  
  FilterSet = django_filters and django_filters.FilterSet or None
  
keep keep keep keep replace keep keep keep keep keep
 switch to a dedicated filter for read list object permissions 
rest_framework/filters.py