Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -12/+17 |
| | |||||
* | Bumped minimum isort version to 5.1.0. | David Smith | 2020-07-30 | 1 | -1/+3 |
| | | | | | Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | ||||
* | Fixed #30542 -- Fixed crash of numerical aggregations with filter. | Étienne Beaulé | 2019-06-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | 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 c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following commits. | ||||
* | Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin. | Nick Pope | 2019-01-14 | 1 | -0/+19 |
| | | | | Also addresses Sum() not handling the filter option correctly. | ||||
* | Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin. | Nick Pope | 2019-01-14 | 1 | -3/+7 |
| | | | | Keeps precision instead of forcing DecimalField to FloatField. | ||||
* | Refs #28643 -- Moved db function mixins to a separate module. | Nick Pope | 2019-01-14 | 1 | -0/+27 |