diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-03-04 15:47:49 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2017-03-04 18:18:21 +0100 |
| commit | 8346680e1ca4a8ddc8190baf3f5f944f6418d5cf (patch) | |
| tree | ed12bc1d1077a65c1b32d410bc267266f6e3e4f9 /django/utils/functional.py | |
| parent | 86de930f413e0ad902e11d78ac988e6743202ea6 (diff) | |
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
Diffstat (limited to 'django/utils/functional.py')
| -rw-r--r-- | django/utils/functional.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 055e511912..92be506f3b 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -166,8 +166,7 @@ def lazystr(text): """ Shortcut for the common case of a lazy callable that returns str. """ - from django.utils.encoding import force_text # Avoid circular import - return lazy(force_text, str)(text) + return lazy(str, str)(text) def keep_lazy(*resultclasses): |
