diff options
author | Iacopo Spalletti <i.spalletti@nephila.it> | 2015-11-07 14:30:20 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-12-12 14:46:48 -0500 |
commit | d693074d431c50e4801dd6bf52525ce1436358f0 (patch) | |
tree | ad452646aad45bf9241478f3fc17803d05320cfc /tests/httpwrappers/tests.py | |
parent | 93fc23b2d542105f5d129dff2dd2c8895e9abd5d (diff) | |
download | django-d693074d431c50e4801dd6bf52525ce1436358f0.tar.gz |
Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().
Thanks to bmispelon and uruz for the initial patch.
Diffstat (limited to 'tests/httpwrappers/tests.py')
-rw-r--r-- | tests/httpwrappers/tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/httpwrappers/tests.py b/tests/httpwrappers/tests.py index 9edc7d12af..94d269c90b 100644 --- a/tests/httpwrappers/tests.py +++ b/tests/httpwrappers/tests.py @@ -21,10 +21,8 @@ from django.http import ( from django.test import SimpleTestCase from django.utils import six from django.utils._os import upath -from django.utils.encoding import force_text, smart_str -from django.utils.functional import lazy - -lazystr = lazy(force_text, six.text_type) +from django.utils.encoding import smart_str +from django.utils.functional import lazystr class QueryDictTests(unittest.TestCase): |