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/query.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index be08c55c7c..b505af4efa 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -36,7 +36,6 @@ from django.db.models.sql.where import (
AND, OR, ExtraWhere, NothingNode, WhereNode,
)
from django.utils.functional import cached_property
-from django.utils.hashable import make_hashable
from django.utils.tree import Node
__all__ = ['Query', 'RawQuery']
@@ -250,14 +249,6 @@ class Query(BaseExpression):
for alias in self.alias_map:
return alias
- @property
- def identity(self):
- identity = (
- (arg, make_hashable(value))
- for arg, value in self.__dict__.items()
- )
- return (self.__class__, *identity)
-
def __str__(self):
"""
Return the query as a string of SQL with the parameter values