  from django import forms
  from django.db.models.deletion import CASCADE
  from django.urls import reverse
  from django.urls.exceptions import NoReverseMatch
  from django.utils import six
  from django.utils.encoding import force_text
  from django.utils.html import smart_urlquote
  from django.utils.safestring import mark_safe
  from django.utils.text import Truncator
  from django.utils.translation import ugettext as _
 
</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
 </s> add  </s> remove from django.utils.six import string_types, text_type
 </s> add  </s> remove from django.utils import six
 </s> add 
  from django import forms
  from django.db.models.deletion import CASCADE
  from django.urls import reverse
  from django.urls.exceptions import NoReverseMatch

  from django.utils.encoding import force_text
  from django.utils.html import smart_urlquote
  from django.utils.safestring import mark_safe
  from django.utils.text import Truncator
  from django.utils.translation import ugettext as _
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/admin/widgets.py