summaryrefslogtreecommitdiff
path: root/django/http/request.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2017-01-26 10:08:08 +0100
committerTim Graham <timograham@gmail.com>2019-02-06 14:12:06 -0500
commit3bb6a4390c0a57da991fcb1c0642b9b3fccff751 (patch)
treef958fe5cf95e3a5285e3bb595da4f7cf27567d58 /django/http/request.py
parent24b82cd201e21060fbc02117dc16d1702877a1f3 (diff)
downloaddjango-3bb6a4390c0a57da991fcb1c0642b9b3fccff751.tar.gz
Refs #27753 -- Favored force/smart_str() over force/smart_text().
Diffstat (limited to 'django/http/request.py')
-rw-r--r--django/http/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/request.py b/django/http/request.py
index 51d0a8dfc3..1e1cc6c397 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -537,7 +537,7 @@ class QueryDict(MultiValueDict):
# It's neither necessary nor appropriate to use
-# django.utils.encoding.force_text for parsing URLs and form inputs. Thus,
+# django.utils.encoding.force_str() for parsing URLs and form inputs. Thus,
# this slightly more restricted function, used by QueryDict.
def bytes_to_text(s, encoding):
"""