Added import of force_unicode to utils/text.py

For backwards compatibility with stupid people like me. Refs #18772.
This commit is contained in:
Adrian Holovaty 2012-08-15 16:59:09 -05:00
parent 27d16a3ca4
commit fd04e711d2
1 changed files with 3 additions and 1 deletions

View File

@ -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