Browse files

Added import of force_unicode to utils/

For backwards compatibility with stupid people like me. Refs #18772.
  • Loading branch information...
adrianholovaty committed Aug 15, 2012
1 parent 27d16a3 commit fd04e711d2a5440d7a828644ee65b88bf00c83b5
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/utils/
@@ -7,7 +7,9 @@
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

0 comments on commit fd04e71

Please sign in to comment.