summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-08-18 11:02:38 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-08-18 11:02:38 +0200
commitf34de7dd6eb7852c272ab2ecc102aa6f06c1d5aa (patch)
tree09cf6aeac3191aedf750105fbbf6dedf3a9f8c9f
parentc03cf0b096c241d9b8c83d775355625d2d8a8e86 (diff)
[py3] Fixed backends tests.
-rw-r--r--django/db/backends/__init__.py2
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()