summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/db/backends/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 587cd874d9..7c00773d42 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -73,17 +73,6 @@ class BaseDatabaseWrapper(object):
self.allow_thread_sharing = allow_thread_sharing
self._thread_ident = thread.get_ident()
- def __eq__(self, other):
- if isinstance(other, BaseDatabaseWrapper):
- return self.alias == other.alias
- return NotImplemented
-
- def __ne__(self, other):
- return not self == other
-
- def __hash__(self):
- return hash(self.alias)
-
@property
def queries(self):
if len(self.queries_log) == self.queries_log.maxlen: