1
0
mirror of https://github.com/django/django.git synced 2025-03-11 09:52:38 +00:00
Simon Charette 277ed07209 Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries.
The Subquery class which Exists inherits from defaulted to using single-valued
querie's field if no output_field was explicitly specified on initialization
which was bypassing the Exists.output_field defined at the class level.

Moving Subquery's dynamic output_field resolution to _resolve_output_field
should make sure the fallback logic is only performed if required.

Regression in 08654a99bbdd09049d682ae57cc94241534b29f0.

Thanks Oli Warner for the detailed report.
2018-03-08 13:30:41 -05:00
..
2017-02-03 08:01:45 -05:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2015-01-02 19:20:18 -05:00
2014-09-02 21:34:29 -04:00
2015-01-27 11:48:04 -05:00
2015-05-01 16:24:39 -04:00
2015-05-20 13:48:06 -04:00
2015-10-03 19:31:45 -04:00
2015-11-04 17:48:49 +01:00
2016-05-02 18:16:36 -04:00
2016-06-04 19:24:51 -04:00
2016-09-01 16:24:46 -04:00
2017-01-04 13:20:01 -05:00
2017-05-06 08:19:41 -04:00
2017-06-01 11:09:51 -04:00
2017-07-01 19:13:35 -04:00
2017-08-01 08:08:18 -04:00
2017-10-05 14:13:32 -04:00
2017-11-01 21:11:38 -04:00
2018-03-06 13:25:20 -05:00