summaryrefslogtreecommitdiff
path: root/django/db/models/aggregates.py
AgeCommit message (Expand)Author
2019-01-21[2.2.x] Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
2019-01-14Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.Nick Pope
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2018-12-06Fixed #30011 -- Fixed queries that reuse filtered aggregates.Simon Charette
2018-08-23Fixed #29048 -- Added **extra_context to database function as_vendor() methods.priyanshsaxena
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-27Refs #28459 -- Improved performance of loading DurationField on SQLite and My...Sergey Fedoseev
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-08Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().Simon Charette
2017-09-29Refs #28492 -- Defined aggregates' output_field at the class level.Simon Charette
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
2017-09-16Removed unneeded StdDev.convert_value() and Variance.convert_value().Sergey Fedoseev
2017-09-16Simplified Count.convert_value() and RegrCount.convert_value().Sergey Fedoseev
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham
2017-07-17Allowed Func subclasses to add kwargs to __repr__().Mariusz Felisiak
2017-07-11Fixed #28382 -- Prevented BaseExpression._output_field from being set if _res...Sergey Fedoseev
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-04-05Fixed #26458 -- Based Avg's default output_field resolution on its source fie...Simon Charette
2015-09-24Removed unused Aggregate.input_field.Tim Graham
2015-09-24Refs #14030 -- Removed more backwards compatiblity for old-style aggregates.Tim Graham
2015-09-14Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*').Adam Chainz
2015-06-27Fixed #24887 -- Removed one-arg limit from models.aggregateGreg Chapple
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
2015-05-30Fixed #24699 -- Added aggregate support for DurationField on OracleJosh Smeaton
2015-04-25Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types.Tim Graham
2015-02-20Update converters to take a consistent set of parameters.Marc Tamlyn
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-28Refs #14030 -- Added repr methods to all expressionsJosh Smeaton
2015-01-27Fixed #24154 -- Backends can now check support for expressionsJosh Smeaton
2015-01-12Fixed #24031 -- Added CASE expressions to the ORM.Michał Modzelewski
2015-01-08Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen
2014-11-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-01-18Fixed #16187 -- refactored ORM lookup systemAnssi Kääriäinen
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-07-08A large number of stylistic cleanups across django/db/Alex Gaynor
2013-03-13Refactored qs.add_q() and utils/tree.pyAnssi Kääriäinen
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
2009-02-23Fixed #10182 -- Corrected realiasing and the process of evaluating values() f...Russell Keith-Magee
2009-02-02Fixed #10142 -- Added docs and an exploding error message to highlight an err...Russell Keith-Magee
2009-01-15Fixed #3566 -- Added support for aggregation to the ORM. See the documentatio...Russell Keith-Magee