| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-31 | Fixed #26192 -- Fixed crash of ordering by constants on PostgreSQL. | Mariusz Felisiak | |
| Thanks Simon Charette for the review. | |||
| 2019-05-23 | Fixed #30501 -- Preventing QuerySet.reverse() from mutating expressions in ↵ | Mariusz Felisiak | |
| QuerySet.order_by and Meta.ordering. | |||
| 2019-05-18 | Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering ↵ | ruchit2801 | |
| contains expressions. Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564. | |||
| 2019-05-07 | Fixed #30349 -- Fixed QuerySet.exclude() on FilteredRelation. | Rob | |
| Using annotated FilteredRelations raised a FieldError when coupled with exclude(). This is due to not passing filtered relation fields to the subquery created in split_exclude(). We fixed this issue by passing the filtered relation data to the newly created subquery. Secondly, in the case where an INNER JOIN is used in the excluded subquery, the ORM would trim the filtered relation INNER JOIN in attempt to simplify the query. This will also remove the ON clause filters generated by the FilteredRelation. We added logic to not trim the INNER JOIN if it is from FilteredRelation. | |||
| 2019-05-03 | Fixed #29692 -- Fixed removing ordering parts for multiline RawSQL expressions. | can | |
| 2019-04-30 | Fixed #30412 -- Fixed crash when adding check constraints with OR'ed ↵ | can | |
| condition on Oracle and SQLite. | |||
| 2019-04-23 | Fixed #29810 -- Fixed crash of select_related() on FilteredRelation with ↵ | can | |
| empty result. | |||
| 2019-04-18 | Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a ↵ | can | |
| nested JSONField key transform. | |||
| 2019-04-15 | Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested ↵ | Simon Charette | |
| subquery errors. RecursionError was introduced in Python 3.5 and subclasses RuntimeError. | |||
| 2019-04-15 | Refs #27149 -- Based recursive nested subquery detection on ↵ | Simon Charette | |
| sys.getrecursionlimit(). This makes sure the test_avoid_infinite_loop_on_too_many_subqueries test doesn't fail on systems with a non-default recursion limit. | |||
| 2019-03-23 | Fixed #30246 -- Reused annotation aliases references in aggregation filters. | Simon Charette | |
| Thanks Jan Baryła for the detailed report and the reduced test case. | |||
| 2019-03-23 | Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates. | Simon Charette | |
| 2019-03-23 | Refs #30188 -- Prevented double annotation of subquery when aggregated over. | Simon Charette | |
| Thanks Can Sarıgöl for the suggested trimming approach. | |||
| 2019-03-23 | Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation. | Simon Charette | |
| 2019-03-23 | Fixed #21703 -- Fixed a crash when excluding a related field with a F(). | Simon Charette | |
| 2019-03-21 | Removed obsolete Lookup hook to prepare rhs expressions. | Simon Charette | |
| After 3a505c70e7b228bf1212c067a8f38271ca86ce09, all _prepare() methods return self. | |||
| 2019-03-21 | Refs #27149, #29542 -- Simplified subquery parentheses wrapping logic. | Simon Charette | |
| 2019-03-21 | Refs #27149 -- Moved subquery expression resolving to Query. | Simon Charette | |
| This makes Subquery a thin wrapper over Query and makes sure it respects the Expression source expression API by accepting the same number of expressions as it returns. Refs #30188. It also makes OuterRef usable in Query without Subquery wrapping. This should allow Query's internals to more easily perform subquery push downs during split_exclude(). Refs #21703. | |||
| 2019-03-21 | Refs #30158 -- Added alias argument to Expression.get_group_by_cols(). | Simon Charette | |
| 2019-02-14 | Fixed #29619 -- Added field names to some FieldErrors. | Hasan Ramezani | |
| 2019-02-13 | Fixed #30184 -- Removed ellipsis characters from shell output strings. | Dan Davis | |
| Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. | |||
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-01-30 | Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for ↵ | Johannes Hoppe | |
| other columns. | |||
| 2019-01-30 | Fixed E117 and F405 flake8 warnings. | Mariusz Felisiak | |
| 2019-01-17 | Refs #28370 -- Removed support for the context arg of Field.from_db_value() ↵ | Tim Graham | |
| and Expression.convert_value(). Per deprecation timeline. | |||
| 2019-01-16 | Fixed #30044 -- Raised a FieldError on inherited field update attempts. | Simon Charette | |
| 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-11-21 | Fixed #29949 -- Refactored db introspection identifier converters. | Mariusz Felisiak | |
| Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review. | |||
| 2018-10-08 | Refs #27795 -- Removed force_text() usage in db/models/sql/query.py. | Jon Dufresne | |
| 2018-10-01 | Fixed #29804 -- Added 'did you mean' suggestions for unsupported lookup error. | Abhinav Patil | |
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-09-13 | Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries. | Ramiro Morales | |
| Thanks Ramiro Morales for contributing to the patch. | |||
| 2018-09-08 | Fixed #29727 -- Made nonexistent joins in F() raise FieldError. | Alexander Holmbäck | |
| Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7. | |||
| 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-08-22 | Refs #29654 -- Replaced three dots with ellipsis character in output strings. | Claude Paroz | |
| 2018-08-13 | Removed unused enumerate in django/db/models/sql/datastructures.py. | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | |
| 2018-08-03 | Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts. | Tom | |
| 2018-08-01 | Fixed typos in comments and docs. | luz.paz | |
| 2018-07-25 | Refs #29563 -- Fixed SQLCompiler.execute_sql() to respect ↵ | Andrew Brown | |
| DatabaseFeatures.can_use_chunked_reads. | |||
| 2018-07-18 | Removed duplicate words in various comments. | Mariusz Felisiak | |
| 2018-07-14 | Fixed #29542 -- Fixed invalid SQL if a Subquery from the HAVING clause is ↵ | Mariusz Felisiak | |
| used in the GROUP BY clause. Thanks Tim Graham for the review. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-07-10 | Deleted unused variable in SQLCompiler.get_related_selections(). | Mads Jensen | |
| Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6. | |||
| 2018-07-02 | Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter(). | Mariusz Felisiak | |
| 2018-05-27 | Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL ↵ | Mariusz Felisiak | |
| when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11. | |||
| 2018-04-19 | Fixed #28574 -- Added QuerySet.explain(). | Tom | |
| 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-04-04 | Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵ | Dmitry Dygalo | |
| null value. | |||
| 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. | |||
