  from django.template.context import (  # NOQA: imported for backwards compatibility
      BaseContext, Context, ContextPopException, RequestContext,
  )
  from django.utils import six
  from django.utils.encoding import (
      force_str, force_text, python_2_unicode_compatible,
  )
  from django.utils.formats import localize
  from django.utils.html import conditional_escape, escape
  from django.utils.inspect import getargspec
  from django.utils.safestring import SafeData, mark_safe
  from django.utils.text import (
 
</s> remove from django.utils.encoding import (
    force_str, force_text, python_2_unicode_compatible,
)
 </s> add from django.utils.encoding import force_str, force_text </s> remove from django.utils.encoding import (
    force_str, force_text, python_2_unicode_compatible,
)
 </s> add from django.utils.encoding import force_str, force_text </s> remove from django.utils.encoding import force_text, python_2_unicode_compatible
 </s> add from django.utils.encoding import force_text </s> remove from django.utils.encoding import (
    force_bytes, force_str, force_text, python_2_unicode_compatible,
)
 </s> add from django.utils.encoding import force_bytes, force_str, force_text </s> remove from django.utils.encoding import (
    force_bytes, force_text, python_2_unicode_compatible, smart_text,
)
 </s> add from django.utils.encoding import force_bytes, force_text, smart_text
from django.utils.encoding import force_str, force_text
  from django.template.context import (  # NOQA: imported for backwards compatibility
      BaseContext, Context, ContextPopException, RequestContext,
  )
  from django.utils import six
from django.utils.encoding import force_str, force_text
from django.utils.encoding import force_str, force_text
from django.utils.encoding import force_str, force_text
  from django.utils.formats import localize
  from django.utils.html import conditional_escape, escape
  from django.utils.inspect import getargspec
  from django.utils.safestring import SafeData, mark_safe
  from django.utils.text import (
keep keep keep keep replace replace replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
django/template/base.py