mirror of
https://github.com/Hopiu/django.git
synced 2026-03-22 00:40:24 +00:00
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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| test_filter_argument.py | ||
| tests.py | ||