  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
  
 
</s> remove from rest_framework.compat import guardian
 </s> add from rest_framework.compat import guardian, get_model_name </s> remove from rest_framework.compat import oauth2_provider_scope, oauth2_constants
 </s> add from rest_framework.compat import (get_model_name, oauth2_provider_scope,
                                   oauth2_constants) </s> remove             'model_name': model_cls._meta.module_name
 </s> add             'model_name': get_model_name(model_cls) </s> remove         model_name = BasicPermModel._meta.module_name
 </s> add         model_name = get_model_name(BasicPermModel)
from rest_framework.compat import django_filters, six, guardian, get_model_name
  returned by list views.
  """
  from __future__ import unicode_literals
  from django.db import models
from rest_framework.compat import django_filters, six, guardian, get_model_name
  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
 Address pending deprecation of Model._meta.module_name in Django 1.6 
rest_framework/filters.py