diff options
| author | Anssi Kääriäinen <anssi.kaariainen@thl.fi> | 2016-02-11 08:39:37 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-11 11:09:55 -0500 |
| commit | 1d9ee181fe09a5c3784bbbf802cc522f11ff25ef (patch) | |
| tree | 631f3b6efd4de904401188b62fc0dc6150150f36 /django/db/models/sql | |
| parent | 25496f0f7b953b9bca709ab20bc536137f57402d (diff) | |
[1.9.x] Fixed #26196 -- Made sure __in lookups use to_field as default.
Thanks Simon Charette for the test.
Backport of 46ecfb9b3a11a360724e3375ba78c33c46d6a992 from master
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 2b446b9ef3..29fe885cc6 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -244,7 +244,7 @@ class Query(object): memo[id(self)] = result return result - def _prepare(self): + def _prepare(self, field): return self def get_compiler(self, using=None, connection=None): |
