| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-03-08 | [2.0.x] Fixed #29195 -- Fixed Exists.output_field resolution on ↵ | Simon Charette | |
| single-valued queries. The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report. Backport of 277ed072094ad87fc6b2c4669f21d43b1f39043c from master | |||
| 2018-02-10 | [2.0.x] Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)). | Raphael Gaschignard | |
| Backport of bf26f66029bca94b007a2452679ac004598364a6 from master | |||
| 2017-12-01 | [2.0.x] Fixed #28863 -- Fixed filter on annotation that contains Q. | Sergey Fedoseev | |
| Backport of cf12257db23fa248c89a3da3f718aa01a50ca659 from master | |||
| 2017-10-25 | [2.0.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when ↵ | Mariusz Felisiak | |
| using OuterRef. Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3. Backport of 81e357a7e19f35235cc998459a10213532727d4e from master | |||
| 2017-09-18 | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | |
| Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch. | |||
| 2017-09-15 | Refs #24031 -- Added test for When.__repr__(). | Mads Jensen | |
| 2017-08-12 | Fixed #27849 -- Added filtering support to aggregates. | Tom | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-07-24 | Fixed DatabaseFeatures.has_case_insensitive_like on MySQL and Oracle. | Mariusz Felisiak | |
| Incorrect since its introduction in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3. | |||
| 2017-07-14 | Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵ | Sergey Fedoseev | |
| _output_field). | |||
| 2017-05-30 | Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST. | Tim Graham | |
| Thanks Simon Charette for the fix. | |||
| 2017-03-01 | Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL. | Matthew Schinckel | |
| Add aliases from resolved querysets to the parent query's external aliases to prevent those aliases from being quoted. Thanks to Vasily Stepanov for the report and Tim Graham for the review. | |||
| 2017-02-23 | Refs #11964, #26167 -- Made Expressions deconstructible. | Ian Foote | |
| 2017-02-21 | Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL. | Vytis Banaitis | |
| Accuracy was incorrect when dates differ by a month or more. | |||
| 2017-02-16 | Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from ↵ | Vytis Banaitis | |
| DateField on Oracle/PostgreSQL. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-14 | Fixed #27149 -- Added Subquery and Exists database expressions. | Matthew Schinckel | |
| Thanks Josh Smeaton for Oracle fixes. | |||
| 2017-01-03 | Fixed #25912 -- Added binary left/right shift operators to F expressions. | anabelensc | |
| Thanks Mariusz Felisiak for review and MySQL advice. | |||
| 2017-01-03 | Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL. | Mariusz Felisiak | |
| 2016-12-02 | Fixed #27561 -- Added Oracle support for binary "or" operator. | Mariusz Felisiak | |
| Removed DatabaseFeatures.supports_bitwise_or feature (unused, always True). | |||
| 2016-11-23 | Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle. | Mariusz Felisiak | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-17 | Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. | Tim Graham | |
| http://bugs.python.org/issue27364 | |||
| 2016-09-17 | Made FieldError/FieldDoesNotExist messages uniform across Python versions. | François Freitag | |
| Removed possible u'' prefixes on Python 2. | |||
| 2016-09-13 | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | |
| assertSequenceEqual(). | |||
| 2016-09-09 | Refs #25415 -- Fixed invalid models in the test suite. | Adam Chainz | |
| 2016-08-19 | Fixed #22288 -- Fixed F() expressions with the __range lookup. | Matthew Wilkes | |
| 2016-08-18 | Fixed #25871 -- Added expressions support to QuerySet.values(). | Ian Foote | |
| 2016-05-18 | Fixed #25774 -- Refactor datetime expressions into public API | Josh Smeaton | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-03-28 | Sorted single letter imports per the latest version of isort. | Tim Graham | |
| 2016-02-26 | Fixed #24793 -- Unified temporal difference support. | Simon Charette | |
| 2016-02-26 | Used setUpTestData for the timedelta expression tests. | Simon Charette | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Hasan | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-10-14 | Fixed #25506 -- Allowed filtering over a RawSQL annotation. | Antoine Catton | |
| Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com> | |||
| 2015-09-22 | Fixed #24509 -- Added Expression support to SQLInsertCompiler | Alex Hill | |
| 2015-09-14 | Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*'). | Adam Chainz | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-06-05 | Added comment to test_query_clone indicating lack of assert is intentional. | Michael Manfre | |
| 2015-03-22 | Fixed #24485 -- Allowed combined expressions to set output_field | Josh Smeaton | |
| 2015-03-17 | Refs #24485 -- Renamed some expression types | Josh Smeaton | |
| 2015-03-17 | Fixed #24486 -- Fixed error with datetime and DurationField arithmetic | Josh Smeaton | |
| 2015-03-09 | Fixed #24171 -- Fixed failure with complex aggregate query and expressions | Anssi Kääriäinen | |
| The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-31 | Fixed expressions test on Python 3.5; refs #23763. | Tim Graham | |
| 2015-01-28 | Refs #14030 -- Added repr methods to all expressions | Josh Smeaton | |
| 2015-01-12 | Fixed #24031 -- Added CASE expressions to the ORM. | Michał Modzelewski | |
