mirror of
https://github.com/Hopiu/django.git
synced 2026-05-18 04:21:06 +00:00
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.
13 lines
294 B
Text
13 lines
294 B
Text
==========================
|
|
Django 2.0.4 release notes
|
|
==========================
|
|
|
|
*Expected April 2, 2018*
|
|
|
|
Django 2.0.4 fixes several bugs in 2.0.3.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a crash when filtering with an ``Exists()`` annotation of a queryset
|
|
containing a single field (:ticket:`29195`).
|