Skip to content
Browse files

[py3] Fixed iterlists usage in QueryDict

  • Loading branch information...
1 parent b109ff8 commit a025b75f6c3021ab400224250defa2db37b8122c @claudep claudep committed
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

0 comments on commit a025b75

Please sign in to comment.
Something went wrong with that request. Please try again.