diff options
| author | Simon Charette <charette.s@gmail.com> | 2019-03-06 02:05:32 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-03-21 20:54:21 -0400 |
| commit | 5935a9aeade517aebdceea989467d2b46c44d96f (patch) | |
| tree | 5926a2b149f9167b12c2f4d575b822883d16ffcb /django/db/models/sql/query.py | |
| parent | 3a505c70e7b228bf1212c067a8f38271ca86ce09 (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.py | 3 |
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") |
