summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql')
-rw-r--r--django/db/models/sql/datastructures.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py
index a88bc09593..5eaa8c25f6 100644
--- a/django/db/models/sql/datastructures.py
+++ b/django/db/models/sql/datastructures.py
@@ -185,10 +185,6 @@ class Join:
def __hash__(self):
return hash(self.identity)
- def equals(self, other):
- # Ignore filtered_relation in equality check.
- return self.identity[:-1] == other.identity[:-1]
-
def demote(self):
new = self.relabeled_clone({})
new.join_type = INNER
@@ -239,6 +235,3 @@ class BaseTable:
def __hash__(self):
return hash(self.identity)
-
- def equals(self, other):
- return self.identity == other.identity