diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-28 17:05:25 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-28 17:08:16 +0100 |
commit | cf304691649fbe3b0d7f8e9396358be9df62430f (patch) | |
tree | 6657aa2e1fcc506238a18d4c6d8b4bdc8bdea83b /django/db/utils.py | |
parent | 2ee21d9f0d9eaed0494f3b9cd4b5bc9beffffae5 (diff) | |
download | django-cf304691649fbe3b0d7f8e9396358be9df62430f.tar.gz |
Fixed tests broken in 2ee21d9.
Diffstat (limited to 'django/db/utils.py')
-rw-r--r-- | django/db/utils.py | 3 |
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) |