summaryrefslogtreecommitdiff
path: root/tests/aggregation
AgeCommit message (Expand)Author
2021-02-24[3.2.x] Fixed #32478 -- Included nested columns referenced by subqueries in G...Simon Charette
2020-12-10Fixed #32178 -- Allowed database backends to skip tests and mark expected fai...Hasan Ramezani
2020-11-27Fixed #25534, Fixed #31639 -- Added support for transform references in expre...Ian Foote
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-11-03Fixed #32166 -- Removed redundant definition of Greatest in test_expression_o...Sicong
2020-10-21Fixed #26390 -- Disabled grouping by Random().Étienne Beaulé
2020-09-29Fixed #31880 -- Made QuerySet.aggregate() raise FieldError when aggregating o...David Wobrock
2020-08-17Fixed #31888 -- Avoided module-level MySQL queries in tests.Ahmad A. Hussein
2020-07-15Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests.Simon Charette
2020-07-15Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette
2020-05-14Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.Simon Charette
2020-03-25Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list...Hasan Ramezani
2020-03-03Refs #31331 -- Checked ONLY_FULL_GROUP_BY mode in AggregateTestCase.test_aggr...Mariusz Felisiak
2020-03-03Fixed #31150 -- Included subqueries that reference related fields in GROUP BY...Mariusz Felisiak
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2020-02-03Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected an...Mariusz Felisiak
2020-01-15Refs #31136 -- Made QuerySet.values()/values_list() group only by selected an...Mariusz Felisiak
2020-01-04Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().Mariusz Felisiak
2019-12-23Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().Simon Charette
2019-12-19Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggr...Simon Charette
2019-12-19Refs #31094 -- Added test for not using aliases in GROUP BY clauses.Simon Charette
2019-11-18Relaxed some query ordering assertions in tests.Tim Graham
2019-07-31Fixed #30665 -- Added support for distinct argument to Avg() and Sum().Étienne Beaulé
2019-07-31Moved test for distinct Count() to a separate test case.Étienne Beaulé
2019-06-10Fixed #30548 -- Improved exception when expression contains mixed types.CruxBox
2019-06-05Fixed #30542 -- Fixed crash of numerical aggregations with filter.Étienne Beaulé
2019-05-08Refs #30462 -- Added test for conditional aggregation on annotated subquery.Mariusz Felisiak
2019-03-23Fixed #30246 -- Reused annotation aliases references in aggregation filters.Simon Charette
2019-03-21Fixed #30158 -- Avoided unnecessary subquery group by on aggregation.Simon Charette
2019-01-21Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
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-02-02Simplified aggregation.tests. Mariusz Felisiak
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-07-21Refs #24887 -- Stopped mutating a test expression during as_sql().Simon Charette
2017-07-11Fixed #28382 -- Prevented BaseExpression._output_field from being set if _res...Sergey Fedoseev
2017-06-29Fixed #28277 -- Added validation of QuerySet.annotate() and aggregate() args.Mariusz Felisiak
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-14Fixed tests that rely on hardcoded id with keepdbJosh Smeaton
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-04-05Fixed #26458 -- Based Avg's default output_field resolution on its source fie...Simon Charette
2016-03-28Sorted single letter imports per the latest version of isort.Tim Graham
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as app...Hasan
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-09-23Refs #14030 -- Removed backwards compatiblity for old-style aggregates.Tim Graham