summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-11 16:03:48 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-11 16:03:48 +0000
commitbcc26d8eeae483814ad80c80a0336311b17de8bf (patch)
treee397d2c4d470c2dcc0a247dad7f12b758d8565a9 /django/http
parent12702bc683273b84624aa8353513ff4962a37d35 (diff)
boulder-oracle-sprint: Merged to [5193]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/http')
-rw-r--r--django/http/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index a0c51ff0da..74a4eff55c 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -91,6 +91,10 @@ class QueryDict(MultiValueDict):
self._assert_mutable()
MultiValueDict.__setitem__(self, key, value)
+ def __delitem__(self, key):
+ self._assert_mutable()
+ super(QueryDict, self).__delitem__(key)
+
def __copy__(self):
result = self.__class__('', mutable=True)
for key, value in dict.items(self):