Fixed #26196 -- Made sure __in lookups use to_field as default.

Thanks Simon Charette for the test.
This commit is contained in:
Anssi Kääriäinen 2016-02-11 08:39:37 +02:00 committed by Tim Graham
parent 04e13c8913
commit 46ecfb9b3a
6 changed files with 25 additions and 4 deletions

View file

@ -21,3 +21,6 @@ Bugfixes
* Fixed a regression for cases where
``ForeignObject.get_extra_descriptor_filter()`` returned a ``Q`` object
(:ticket:`26153`).
* Fixed regression with an ``__in=qs`` lookup for a ``ForeignKey`` with
``to_field`` set (:ticket:`26196`).