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.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index 3aa3c0b512..eac61106c6 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -271,9 +271,6 @@ class Query(BaseExpression):
memo[id(self)] = result
return result
- def _prepare(self, field):
- return self
-
def get_compiler(self, using=None, connection=None):
if using is None and connection is None:
raise ValueError("Need either using or connection")