summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2019-03-06 02:05:32 -0500
committerTim Graham <timograham@gmail.com>2019-03-21 20:54:21 -0400
commit5935a9aeade517aebdceea989467d2b46c44d96f (patch)
tree5926a2b149f9167b12c2f4d575b822883d16ffcb /django/db/models/sql/query.py
parent3a505c70e7b228bf1212c067a8f38271ca86ce09 (diff)
Removed obsolete Lookup hook to prepare rhs expressions.
After 3a505c70e7b228bf1212c067a8f38271ca86ce09, all _prepare() methods return self.
Diffstat (limited to 'django/db/models/sql/query.py')
-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")