summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()