summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
Diffstat (limited to 'django/http')
-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 05aa89252b..fdd1cf8c67 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -511,7 +511,7 @@ class QueryDict(MultiValueDict):
return urlencode({k: v})
for k, list_ in self.lists():
output.extend(
- encode(k.encode(self.encoding), v.encode(self.encoding))
+ encode(k.encode(self.encoding), str(v).encode(self.encoding))
for v in list_
)
return '&'.join(output)