| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-05 | Fixed #32068 -- Added error messages on get() with filters following ↵ | Hasan Ramezani | |
| union(), intersection(), and difference(). | |||
| 2020-10-05 | Fixed #31926 -- Fixed recreating queryset with FilteredRelation when using a ↵ | David-Wobrock | |
| pickled Query. In a pickled join, the join_fields had the same values, but weren't the same object (contrary to when not pickling the QuerySet). | |||
| 2020-10-02 | Fixed #32060 -- Added Random database function. | Nick Pope | |
| 2020-09-29 | Fixed #31880 -- Made QuerySet.aggregate() raise FieldError when aggregating ↵ | David Wobrock | |
| over aggregation aliases. | |||
| 2020-09-23 | Fixed #32012 -- Made test database creation sync apps models when migrations ↵ | Mariusz Felisiak | |
| are disabled. Thanks Jaap Roes for the report. | |||
| 2020-09-23 | Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite. | Hasan Ramezani | |
| Thanks Simon Charette for the initial patch. | |||
| 2020-09-21 | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | |
| Thanks Simon Charette and Mariusz Felisiak for reviews. | |||
| 2020-09-18 | Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation. | Tom Carrick | |
| Previously, backends used different keys "swedish-ci" or "swedish_ci". | |||
| 2020-09-17 | Fixed #31916 -- Fixed combined queryset crash when combining with ordered ↵ | Hasan Ramezani | |
| combined querysets. | |||
| 2020-09-16 | Fixed #31843 -- Fixed pickling named values from QuerySet.values_list(). | Kwist | |
| 2020-09-15 | Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation. | Mariusz Felisiak | |
| Thanks Gordon Wrigley for the report. Regression in 8a6df55f2dd5131282084a4edfd48f63fbf8c69a. | |||
| 2020-09-15 | Added DatabaseIntrospection.index_default_access_method hook on the ↵ | Tim Graham | |
| PostgreSQL backend. This hook is for the CockroachDB backend where the name is 'prefix'. | |||
| 2020-09-14 | Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with ↵ | Mariusz Felisiak | |
| Meta.ordering. Regression in 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6. Thanks Julien Dutriaux for the report. | |||
| 2020-09-11 | Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using ↵ | Hasan Ramezani | |
| a pickled Query. | |||
| 2020-09-09 | Fixed #31750 -- Made models.Field equality compare models for inherited fields. | Ryan Hiebert | |
| 2020-09-09 | Fixed #31987 -- Fixed Cast() with DurationField on MySQL. | Petr Čermák | |
| 2020-09-04 | Fixed #27417 -- Made RenameField operation a noop for field name case ↵ | Mariusz Felisiak | |
| changes on Oracle. Field names are always uppercased in the Oracle backend. Changing case should be a noop to avoid database errors: "ORA-00957: duplicate column name". | |||
| 2020-09-02 | Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage. | Brian Helba | |
| 2020-09-02 | Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime(). | Joe Jackson | |
| 2020-08-31 | Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships. | Federico Jaramillo Martínez | |
| Thanks dacotagh for the report. | |||
| 2020-08-31 | Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB. | Simon Charette | |
| The optimization introduced in 7acef095d73 did not properly handle deletion involving filters against aggregate annotations. It initially was surfaced by a MariaDB test failure but misattributed to an undocumented change in behavior that resulted in the systemic generation of poorly performing database queries in 5b83bae031. Thanks Anton Plotkin for the report. Refs #23576. | |||
| 2020-08-31 | Fixed #31919 -- Resolved output_field of IntegerField subclasses combinations. | Simon Charette | |
| 2020-08-28 | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | |
| on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | |||
| 2020-08-28 | Fixed #31954 -- Fixed migration optimization for MTI model creation with ↵ | Koen De Wit | |
| parent model with mixed case app label. | |||
| 2020-08-27 | Fixed #31947 -- Made QuerySet.update_or_create() reuse get_or_create(). | Alexander | |
| 2020-08-26 | Fixed #31936 -- Fixed __in lookup on key transforms for JSONField. | Mariusz Felisiak | |
| This resolves an issue on databases without a native JSONField (MariaDB, MySQL, SQLite, Oracle), where values must be wrapped. Thanks Sébastien Pattyn for the report. | |||
| 2020-08-26 | Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field. | Kaustubh | |
| 2020-08-24 | Fixed #24533 -- Dropped PostgreSQL sequence and Oracle identity when ↵ | Tim Graham | |
| migrating away from AutoField. | |||
| 2020-08-14 | Fixed #31826 -- Made AlterField operation a noop when adding db_column. | Iuri de Silvio | |
| AlterField operation with adding a db_column is a noop if the column name is not changed. | |||
| 2020-08-13 | Fixed #31792 -- Made Exists() reuse QuerySet.exists() optimizations. | Simon Charette | |
| The latter is already optimized to limit the number of results, avoid selecting unnecessary fields, and drop ordering if possible without altering the semantic of the query. | |||
| 2020-08-13 | Fixed #31825 -- Made RenameField operation a noop for fields with db_column. | Iuri de Silvio | |
| 2020-08-12 | Fixed #31382 -- Made Model.save(update_fields=...) raise ValueError on ↵ | Pat Garcia | |
| non-concrete fields. | |||
| 2020-08-12 | Fixed #31863 -- Prevented mutating model state by copies of model instances. | Gert Burger | |
| Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5. | |||
| 2020-08-11 | Fixed #21181 -- Added Collate database function. | Tom Carrick | |
| Thanks Simon Charette for reviews. | |||
| 2020-08-11 | Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()). | Daniel Hillier | |
| 2020-08-08 | Fixed #31831 -- Fixed migration operations ordering when adding ↵ | Iuri de Silvio | |
| order_with_respect_to and constraints/indexes. | |||
| 2020-08-05 | Fixed #26977 -- Made abstract models raise TypeError when instantiating. | Jacob Walls | |
| 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-30 | Removed unnecessary list() call in RelatedManager.add(). | Sergey Fedoseev | |
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-07-30 | Refs #31829 -- Added ↵ | Tim Graham | |
| DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL. | |||
| 2020-07-29 | Fixed #31783 -- Fixed crash when filtering againts "negate" field. | Hasan Ramezani | |
| Thanks Simon Charette for the initial patch. | |||
| 2020-07-28 | Fixed #31829 -- Used JSONField __contains lookup on key transforms. | sage | |
| 2020-07-28 | Fixed #31836 -- Dropped support for JSONField __contains and __contained_by ↵ | Mariusz Felisiak | |
| lookups on SQLite. The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". | |||
| 2020-07-28 | Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle. | Mariusz Felisiak | |
| The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". | |||
| 2020-07-28 | Refs #27996 -- Doc'd no extension required for RandomUUID() on PostgreSQL 13+. | Nick Pope | |
| https://www.postgresql.org/docs/13/functions-uuid.html https://www.postgresql.org/docs/13/pgcrypto.html#id-1.11.7.34.10.5 | |||
| 2020-07-27 | Fixed #31815 -- Fixed schema value encoding on PostgreSQL. | Mariusz Felisiak | |
| 2020-07-24 | Fixed #31812 -- Fixed FileField.model for fields defined in abstract models. | Matthias Kestenholz | |
| Regression in a93425a37f4defdb31d4ca96bb3bf6da21f0b5ce. | |||
| 2020-07-22 | Fixed #31765 -- Disabled bundled SQLite renaming atomic references on macOS ↵ | Tom Forbes | |
| 10.15. | |||
| 2020-07-22 | Reverted "Fixed #30300 -- Allowed migrations to be loaded from directories ↵ | Tim Graham | |
| without __init__.py file." This reverts commit 3cd3bebe8921e14b911b36b2a1cbceef8fb6294e. | |||
