| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-01-20 | [4.2.x] Fixed #34267 -- Fixed sliced QuerySet.union() crash. | Francesco Panico | |
| Regression in 3d734c09ff0138441dfe0a59010435871d17950f. Thanks Raphaël Stefanini for the report. Backport of cc8aa6bf9c127a493e6dd005012b9e6397b3f319 from main | |||
| 2022-11-23 | Refs #33050 -- Added test for QuerySet.count() on combined queries with ↵ | Mariusz Felisiak | |
| select_related(). Thanks Simon Charette for noticing this. Fixed in 70499b25c708557fb9ee2264686cd172f4b2354e. | |||
| 2022-11-15 | Fixed #34123 -- Fixed combinator order by alias when using select_related(). | Simon Charette | |
| Regression in c58a8acd413ccc992dd30afd98ed900897e1f719. Thanks to Shai Berger for the report and tests. Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com> | |||
| 2022-10-29 | Fixed #34125 -- Fixed sliced QuerySet.union() crash on a single non-empty ↵ | Simon Charette | |
| queryset. The bug existed since sliced query union was added but was elevated to query union slices by moving the .exists() optimization to the compiler in 3d734c09ff0138441dfe0a59010435871d17950f. Thanks Stefan Hammer for the report. | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-10-05 | Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on ↵ | Simon Charette | |
| MySQL. Columns of the left outer most select statement in a combined query can be referenced by alias just like by index. This removes combined query ordering by column index and avoids an unnecessary usage of RawSQL which causes issues for backends that specialize the treatment of null ordering. | |||
| 2022-06-27 | Fixed #33796 -- Fixed ordered combined queryset crash when used in subquery ↵ | Mariusz Felisiak | |
| on PostgreSQL and MySQL. Thanks Shai Berger for the report. Regression in 30a01441347d5a2146af2944b29778fa0834d4be. | |||
| 2022-03-04 | Fixed #29865 -- Added logical XOR support for Q() and querysets. | Ryan Heard | |
| 2022-02-22 | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | |
| Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-17 | Fixed #29338 -- Allowed using combined queryset in Subquery. | Mariusz Felisiak | |
| Thanks Eugene Kovalev for the initial patch, Simon Charette for the review, and Chetan Khanna for help. | |||
| 2021-09-24 | Fixed #33127 -- Added error messages on | and & operators with combined ↵ | Hasan Ramezani | |
| querysets. | |||
| 2021-04-12 | Fixed #32627 -- Fixed QuerySet.values()/values_list() crash on combined ↵ | Iuri de Silvio | |
| querysets ordered by unannotated columns. | |||
| 2021-03-06 | Fixed #24141 -- Added QuerySet.contains(). | Johan Schiff | |
| 2020-11-16 | Fixed #31507 -- Added QuerySet.exists() optimizations to compound queries. | David-Wobrock | |
| 2020-11-16 | Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets. | David-Wobrock | |
| Supported since 84c1826ded17b2d74f66717fb745fc36e37949fd. | |||
| 2020-11-14 | Fixed #31496 -- Fixed QuerySet.values()/values_list() crash on combined ↵ | David-Wobrock | |
| querysets ordered by annotations. | |||
| 2020-10-19 | Fixed #32116 -- Fixed QuerySet.order_by() crash on EmptyQuerySet with ↵ | Hannes Ljungberg | |
| union() on a single non-empty ordered queryset. | |||
| 2020-10-05 | Fixed #32068 -- Added error messages on get() with filters following ↵ | Hasan Ramezani | |
| union(), intersection(), and difference(). | |||
| 2020-10-05 | Refs #32068 -- Added tests for get() following union(), intersection(), and ↵ | Hasan Ramezani | |
| difference(). | |||
| 2020-09-17 | Fixed #31916 -- Fixed combined queryset crash when combining with ordered ↵ | Hasan Ramezani | |
| combined querysets. | |||
| 2020-07-31 | Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases. | Alexandr Tatarinov | |
| QuerySet.alias() allows creating reusable aliases for expressions that don't need to be selected but are used for filtering, ordering, or as a part of complex expressions. Thanks Simon Charette for reviews. | |||
| 2020-07-07 | Fixed #31767 -- Fixed QuerySet.none() on combined queryset. | Mariusz Felisiak | |
| 2020-05-27 | Refs #31614 -- Added test for ordering by OrderBy() of combined queryset ↵ | Mariusz Felisiak | |
| with not selected columns. | |||
| 2020-05-26 | Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of combined ↵ | Laurent Tramoy | |
| queryset. | |||
| 2020-05-26 | Refs #31614 -- Added test for aliases ordering on combined querysets. | Laurent Tramoy | |
| 2020-05-26 | Used operator.attrgetter() in test_qs_combinators. | Laurent Tramoy | |
| 2020-05-13 | Fixed #31580 -- Added error messages on distinct() following union(), ↵ | Hasan Ramezani | |
| intersection(), and difference(). | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-09 | Fixed #31148 -- Added error messages on update()/delete() operations ↵ | Hasan Ramezani | |
| following union(), intersection(), and difference(). | |||
| 2019-07-25 | Fixed #27995 -- Added error messages on unsupported operations following ↵ | Hasan Ramezani | |
| union(), intersection(), and difference(). | |||
| 2019-07-10 | Fixed #30628 -- Adjusted expression identity to differentiate bound fields. | Simon Charette | |
| Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21. | |||
| 2019-06-19 | Fixed #29834 -- Fixed column mismatch crash with ↵ | can | |
| QuerySet.values()/values_list() and order_by() on combined querysets. | |||
| 2019-06-19 | Fixed #30572 -- Prevented values()/values_list() on combined queryset from ↵ | Mariusz Felisiak | |
| mutating the list of columns in querysets. | |||
| 2019-01-14 | Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions. | Sergey Fedoseev | |
| 2018-12-06 | Fixed #29932 -- Fixed combining compound queries with sub-compound queries ↵ | Mariusz Felisiak | |
| on SQLite and Oracle. | |||
| 2018-08-29 | Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or ↵ | Mariusz Felisiak | |
| values_list() after combining querysets with extra() with union(), difference(), or intersection(). Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b. | |||
| 2018-04-13 | Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or ↵ | Mariusz Felisiak | |
| values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews. | |||
| 2018-03-19 | Fixed #29229 -- Fixed column mismatch crash when combining two annotated ↵ | Astral | |
| values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e. | |||
| 2017-11-12 | Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), ↵ | Mariusz Felisiak | |
| difference(), and intersection(). Thanks Tim Graham for the review. | |||
| 2017-07-15 | Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and ↵ | Florian Apolloner | |
| intersection() queries. | |||
| 2017-07-10 | Fixed #28378 -- Fixed union() and difference() when combining with a ↵ | Mariusz Felisiak | |
| queryset raising EmptyResultSet. Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-07-10 | Added test for intersection() when combining with a queryset raising ↵ | Mariusz Felisiak | |
| EmptyResultSet. | |||
| 2017-06-13 | Fixed #28293 -- Fixed union(), intersection(), and difference() when ↵ | Mariusz Felisiak | |
| combining with an EmptyQuerySet. Thanks Jon Dufresne for the report and Tim Graham for the review. | |||
| 2017-04-10 | Used NotSupportedError instead of DatabaseError in SQLCompiler.as_sql(). | Mariusz Felisiak | |
| 2017-02-01 | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | |
| 2017-01-21 | Refs #23919 -- Removed misc references to Python 2. | Tim Graham | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-14 | Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). | Florian Apolloner | |
| Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs. | |||
