mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[py3] Fixed contrib.formtools tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user