  """
  Helper classes for parsers.
  """
  from __future__ import unicode_literals
  from django.utils import timezone
  from django.db.models.query import QuerySet
  from django.utils.datastructures import SortedDict
  from django.utils.functional import Promise
  from rest_framework.compat import force_text
  import datetime
 
</s> remove from django.utils import timezone
 </s> add from django.utils import six, timezone </s> remove import django
import inspect
 </s> add 
  """
  Helper classes for parsers.
  """
  from __future__ import unicode_literals

  from django.db.models.query import QuerySet
  from django.utils.datastructures import SortedDict
  from django.utils.functional import Promise
  from rest_framework.compat import force_text
  import datetime
keep keep keep keep replace keep keep keep keep keep
 Use six.text_type instead of str everywhere 
rest_framework/utils/encoders.py