From f34de7dd6eb7852c272ab2ecc102aa6f06c1d5aa Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 18 Aug 2012 11:02:38 +0200 Subject: [PATCH] [py3] Fixed backends tests. --- django/db/backends/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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()