django1/django
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 08654a99bb.

Thanks Oli Warner for the detailed report.
2018-03-08 13:30:41 -05:00
..
apps Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. 2017-06-01 19:08:59 -04:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf Updated translations from Transifex 2018-02-28 20:06:52 +01:00
contrib Fixed #28981 -- Added an exception if GeoIP database can't be loaded from the path. 2018-03-05 12:20:30 -05:00
core Fixed #29133 -- Fixed call_command() crash if a required option is passed in options. 2018-03-02 12:25:08 -05:00
db Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries. 2018-03-08 13:30:41 -05:00
dispatch Fixed #28984 -- Made assorted code simplifications. 2018-01-03 13:24:02 -05:00
forms Condensed some widgets code. 2018-03-03 13:35:09 -05:00
http Refs #27795 -- Replaced force_bytes() usage in django.http. 2018-02-07 14:28:15 -05:00
middleware Fixed #28693 -- Fixed crash in CsrfViewMiddleware when an HTTPS request has an invalid host. 2018-02-14 20:24:01 -05:00
template Refs #28909 -- Simplifed code using unpacking generalizations. 2018-02-26 18:23:31 +01:00
templatetags Fixed #28544 -- Made unlocalize template filter behave like {% localize off %} tag 2017-11-07 20:48:15 +01:00
test Fixed #29106 -- Made DiscoverRunner display selected test tags. 2018-02-13 12:56:31 -05:00
urls Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
utils Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator. 2018-03-06 08:30:40 -05:00
views Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
__init__.py Bumped version; master is now 2.1 pre-alpha. 2017-09-22 12:51:17 -04:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Fixed #29135 -- Prevented get_object/list_or_404() from hiding AttributeError raised by QuerySet filtering. 2018-02-19 10:51:15 -05:00