summaryrefslogtreecommitdiff
path: root/django/db/utils.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-02-28 17:05:25 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-02-28 17:08:16 +0100
commitcf304691649fbe3b0d7f8e9396358be9df62430f (patch)
tree6657aa2e1fcc506238a18d4c6d8b4bdc8bdea83b /django/db/utils.py
parent2ee21d9f0d9eaed0494f3b9cd4b5bc9beffffae5 (diff)
downloaddjango-cf304691649fbe3b0d7f8e9396358be9df62430f.tar.gz
Fixed tests broken in 2ee21d9.
Diffstat (limited to 'django/db/utils.py')
-rw-r--r--django/db/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/utils.py b/django/db/utils.py
index cc17b3e7a3..71b89f93fb 100644
--- a/django/db/utils.py
+++ b/django/db/utils.py
@@ -183,6 +183,9 @@ class ConnectionHandler(object):
def __setitem__(self, key, value):
setattr(self._connections, key, value)
+ def __delitem__(self, key):
+ delattr(self._connections, key)
+
def __iter__(self):
return iter(self.databases)