  """
  from __future__ import unicode_literals
  from django.core.urlresolvers import reverse as django_reverse
  from django.utils.functional import lazy
  
  
  def reverse(viewname, args=None, kwargs=None, request=None, format=None, **extra):
      """
 
</s> remove from django.utils import timezone
 </s> add  </s> remove import django
import inspect
 </s> add  </s> remove from django.db.models.query import QuerySet
 </s> add 
from django.utils import six
  """
  from __future__ import unicode_literals
  from django.core.urlresolvers import reverse as django_reverse
from django.utils import six
  from django.utils.functional import lazy
  
  
  def reverse(viewname, args=None, kwargs=None, request=None, format=None, **extra):
      """
keep keep add keep keep keep keep keep
 Use six.text_type instead of str everywhere 
rest_framework/reverse.py