  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured, MiddlewareNotUsed
  from django.db import connections, transaction
  from django.urls import get_resolver, set_urlconf
  from django.utils import six
  from django.utils.module_loading import import_string
  
  from .exception import convert_exception_to_response, get_exception_response
  
  logger = logging.getLogger('django.request')
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six, translation
 </s> add from django.utils import translation </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six, timezone
 </s> add from django.utils import timezone
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured, MiddlewareNotUsed
  from django.db import connections, transaction
  from django.urls import get_resolver, set_urlconf

  from django.utils.module_loading import import_string
  
  from .exception import convert_exception_to_response, get_exception_response
  
  logger = logging.getLogger('django.request')
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/core/handlers/base.py