Added import of force_unicode to utils/text.py
For backwards compatibility with stupid people like me. Refs #18772.
This commit is contained in:
parent
27d16a3ca4
commit
fd04e711d2
|
@ -7,7 +7,9 @@ from gzip import GzipFile
|
|||
from django.utils.six.moves import html_entities
|
||||
from io import BytesIO
|
||||
|
||||
from django.utils.encoding import force_text
|
||||
# Import force_unicode even though this module doesn't use it, because some
|
||||
# people rely on it being here.
|
||||
from django.utils.encoding import force_text, force_unicode
|
||||
from django.utils.functional import allow_lazy, SimpleLazyObject
|
||||
from django.utils import six
|
||||
from django.utils.translation import ugettext_lazy, ugettext as _, pgettext
|
||||
|
|
Loading…
Reference in New Issue