  """
  
  # flake8: noqa
  from __future__ import unicode_literals
  import django
  import inspect
  from django.core.exceptions import ImproperlyConfigured
  from django.conf import settings
  from django.utils import six
  
  
 
</s> remove from django.utils import timezone
 </s> add from django.utils import six, timezone
  """
  
  # flake8: noqa
  from __future__ import unicode_literals


  from django.core.exceptions import ImproperlyConfigured
  from django.conf import settings
  from django.utils import six
  
  
keep keep keep keep replace replace keep keep keep keep keep
 Use six.text_type instead of str everywhere 
rest_framework/compat.py