      django_filters = None
  
  
  # cStringIO only if it's available, otherwise StringIO
  try:
      import cStringIO.StringIO as StringIO
  except ImportError:
      StringIO = six.StringIO
 
</s> remove from rest_framework.compat import oauth2_provider_scope, oauth2_constants
 </s> add from rest_framework.compat import oauth2_provider_scope, oauth2_constants, guardian
# guardian is optional
try:
    import guardian
except ImportError:
    guardian = None

      django_filters = None
  
# guardian is optional
try:
    import guardian
except ImportError:
    guardian = None

  
  # cStringIO only if it's available, otherwise StringIO
  try:
      import cStringIO.StringIO as StringIO
  except ImportError:
      StringIO = six.StringIO
keep add keep keep keep keep keep keep
 added guardian as optional requirement, stubbed out object-level permission class 
rest_framework/compat.py