diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-18 11:02:38 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-08-18 11:02:38 +0200 |
| commit | f34de7dd6eb7852c272ab2ecc102aa6f06c1d5aa (patch) | |
| tree | 09cf6aeac3191aedf750105fbbf6dedf3a9f8c9f | |
| parent | c03cf0b096c241d9b8c83d775355625d2d8a8e86 (diff) | |
[py3] Fixed backends tests.
| -rw-r--r-- | django/db/backends/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index 023a4faba0..649f807f26 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -47,6 +47,8 @@ class BaseDatabaseWrapper(object): def __ne__(self, other): return not self == other + __hash__ = object.__hash__ + def _commit(self): if self.connection is not None: return self.connection.commit() |
