summaryrefslogtreecommitdiff
path: root/django/http/__init__.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-08-13 21:07:51 +0200
committerClaude Paroz <claude@2xlibre.net>2012-08-13 21:26:12 +0200
commit363dbd920e9b77da83895598f0fc9f7f835df65d (patch)
treeac629e07efb4f1b7f67ab2f18c5c0ad3c324b051 /django/http/__init__.py
parenta025b75f6c3021ab400224250defa2db37b8122c (diff)
[py3] Fixed contrib.formtools tests
Diffstat (limited to 'django/http/__init__.py')
-rw-r--r--django/http/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index 12a11cface..ed4a23928f 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -193,7 +193,7 @@ class HttpRequest(object):
default argument in which case that value will be returned instead.
"""
try:
- cookie_value = self.COOKIES[key].encode('utf-8')
+ cookie_value = self.COOKIES[key]
except KeyError:
if default is not RAISE_ERROR:
return default