Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[py3] Fixed iterlists usage in QueryDict

  • Loading branch information...
commit a025b75f6c3021ab400224250defa2db37b8122c 1 parent b109ff8
@claudep claudep authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/http/__init__.py
View
4 django/http/__init__.py
@@ -415,14 +415,14 @@ def __delitem__(self, key):
def __copy__(self):
result = self.__class__('', mutable=True, encoding=self.encoding)
- for key, value in self.iterlists():
+ for key, value in six.iterlists(self):
result.setlist(key, value)
return result
def __deepcopy__(self, memo):
result = self.__class__('', mutable=True, encoding=self.encoding)
memo[id(self)] = result
- for key, value in self.iterlists():
+ for key, value in six.iterlists(self):
result.setlist(copy.deepcopy(key, memo), copy.deepcopy(value, memo))
return result
Please sign in to comment.
Something went wrong with that request. Please try again.