  from django.conf import settings
  from django.contrib.auth import REDIRECT_FIELD_NAME
  from django.contrib.auth.views import redirect_to_login
  from django.core.exceptions import ImproperlyConfigured, PermissionDenied
  from django.utils import six
  from django.utils.encoding import force_text
  
  
  class AccessMixin(object):
      """
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six, timezone
 </s> add from django.utils import timezone </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import lru_cache, six
 </s> add from django.utils import lru_cache </s> remove from django.utils import six, timezone
 </s> add from django.utils import timezone
  from django.conf import settings
  from django.contrib.auth import REDIRECT_FIELD_NAME
  from django.contrib.auth.views import redirect_to_login
  from django.core.exceptions import ImproperlyConfigured, PermissionDenied

  from django.utils.encoding import force_text
  
  
  class AccessMixin(object):
      """
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/contrib/auth/mixins.py