mirror of
https://github.com/django/django.git
synced 2025-01-11 02:46:13 +00:00
4b6dfe1622
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.
Thanks to Chuan-Zheng Lee for the report.
Regression in c690afb873
and two following
commits.
15 lines
371 B
Plaintext
15 lines
371 B
Plaintext
==========================
|
|
Django 2.2.3 release notes
|
|
==========================
|
|
|
|
*Expected July 1, 2019*
|
|
|
|
Django 2.2.3 fixes several bugs in 2.2.2.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a regression in Django 2.2 where :class:`~django.db.models.Avg`,
|
|
:class:`~django.db.models.StdDev`, and :class:`~django.db.models.Variance`
|
|
crash with ``filter`` argument (:ticket:`30542`).
|