Browse files

[py3] Fixed backends tests.

  • Loading branch information...
1 parent c03cf0b commit f34de7dd6eb7852c272ab2ecc102aa6f06c1d5aa @aaugustin aaugustin committed Aug 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 django/db/backends/__init__.py
View
2 django/db/backends/__init__.py
@@ -47,6 +47,8 @@ def __eq__(self, other):
def __ne__(self, other):
return not self == other
+ __hash__ = object.__hash__
+
def _commit(self):
if self.connection is not None:
return self.connection.commit()

0 comments on commit f34de7d

Please sign in to comment.