mirror of
https://github.com/django/django.git
synced 2025-11-28 22:49:09 +00:00
Fixed #26196 -- Made sure __in lookups use to_field as default.
Thanks Simon Charette for the test.
This commit is contained in:
parent
04e13c8913
commit
46ecfb9b3a
6 changed files with 25 additions and 4 deletions
|
|
@ -235,7 +235,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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue