From 2ced2f785d5aca0354abf5841d5449b7a49509dc Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 2 Sep 2016 20:17:15 +0200 Subject: Replaced smart_* by force_* calls whenever possible The smart_* version should only be used when a lazy string should keep its lazy status. --- django/http/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/http') diff --git a/django/http/request.py b/django/http/request.py index 271ab30557..6846068c2f 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -521,7 +521,7 @@ class QueryDict(MultiValueDict): # It's neither necessary nor appropriate to use -# django.utils.encoding.smart_text for parsing URLs and form inputs. Thus, +# django.utils.encoding.force_text for parsing URLs and form inputs. Thus, # this slightly more restricted function, used by QueryDict. def bytes_to_text(s, encoding): """ -- cgit v1.3