| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-07-19 | Fixed #10929 -- Added default argument to aggregates. | Nick Pope | |
| Thanks to Simon Charette and Adam Johnson for the reviews. | |||
| 2021-07-09 | Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ↵ | Ian Foote | |
| QuerySet.filter(). Thanks Hannes Ljungberg and Simon Charette for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-07-08 | Fixed #32908 -- Allowed select_for_update(skip_locked) on MariaDB 10.6+. | Mariusz Felisiak | |
| 2021-07-07 | Documented in_bulk behavior with nonexistent id_list items. | Claude Paroz | |
| Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||
| 2021-07-02 | Refs #26430 -- Re-introduced empty aggregation optimization. | Simon Charette | |
| The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review. | |||
| 2021-06-29 | Fixed #32381 -- Made QuerySet.bulk_update() return the number of objects ↵ | abhiabhi94 | |
| updated. Co-authored-by: Diego Lima <diego.lima@lais.huol.ufrn.br> | |||
| 2021-05-18 | Fixed #32755 -- Corrected Model.get_absolute_url() example in docs. | Girish Sontakke | |
| 2021-05-12 | Fixed a typo in docs/ref/models/fields.txt. | Nick Pope | |
| datetime.date.utcnow() doesn't exist, should be .today(). | |||
| 2021-04-14 | Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields ↵ | Mariusz Felisiak | |
| on MySQL/MariaDB. Thanks Matt Westcott for the report. Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2. | |||
| 2021-04-07 | Fixed #32501 -- Added support for returning fields from INSERT statements on ↵ | girishsontakke | |
| SQLite 3.35+. | |||
| 2021-03-29 | Fixed #31487 -- Added precision argument to Round(). | Nick Pope | |
| 2021-03-25 | Refs #31003 -- Moved note about return value of QuerySet.bulk_create() to ↵ | Claude Paroz | |
| the first paragraph. | |||
| 2021-03-25 | Doc'd that RawSQL can be used with __in. | Simon Willison | |
| 2021-03-24 | Refs #32460 -- Doc'd and tested that property names of model choice enums ↵ | Nick Pope | |
| cannot be used as members. | |||
| 2021-03-23 | Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key ↵ | Mariusz Felisiak | |
| transforms with booleans on SQLite. Thanks Matthew Cornell for the report. | |||
| 2021-03-06 | Fixed #24141 -- Added QuerySet.contains(). | Johan Schiff | |
| 2021-03-04 | Refs #32483 -- Doc'd caveat about using JSONField key transforms to booleans ↵ | Mariusz Felisiak | |
| with QuerySet.values()/values_list() on SQLite. | |||
| 2021-02-23 | Fixed #30916 -- Added support for functional unique constraints. | Hannes Ljungberg | |
| Thanks Ian Foote and Mariusz Felisiak for reviews. | |||
| 2021-01-28 | Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for ↵ | Timothy McCurrach | |
| multiple batches. | |||
| 2021-01-22 | Refs #32372 -- Updated manager name in related objects reference docs. | Jack | |
| Follow up to 725c549ae7a34d83447201da7190f8d71c7fc2fc. | |||
| 2021-01-22 | Fixed #32372 -- Made examples in related objects reference docs consistent. | Jack Aitken | |
| 2021-01-14 | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-14 | Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2021-01-14 | Removed versionadded/changed annotations for 3.1. | Mariusz Felisiak | |
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2021-01-12 | Removed unused import in docs/ref/models/expressions.txt. (#13879) | Mariusz Felisiak | |
| 2021-01-11 | Fixed #32313 -- Corrected QuerySet.in_bulk() signature. | Iuri de Silvio | |
| 2021-01-07 | Fixed #32315 -- Doc'd FieldFile.path. | Hasan Ramezani | |
| 2021-01-05 | Fixed #32231 -- Allowed passing None params to QuerySet.raw(). | Alexander Lyabah | |
| 2021-01-04 | Fixed #32310 -- Fixed note about reverse accessors for intermediate table ↵ | Fabio Sangiovanni | |
| for self-referential ManyToManyField. | |||
| 2020-12-30 | Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0. | Mariusz Felisiak | |
| 2020-12-21 | Corrected code-block directives in docs/ref/models/meta.txt. | Jon Dufresne | |
| 2020-12-15 | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | |
| This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | |||
| 2020-12-15 | Added backticks to code literals in various docs. | Jon Dufresne | |
| 2020-12-10 | Refs #31792 -- Updated SQL example in Exists() docs. | Kevin Marsh | |
| Follow up to 51297a92324976a704279b567ec4f80bb92d7b60. | |||
| 2020-12-02 | Fixed #32179 -- Added JSONObject database function. | Artur Beltsov | |
| 2020-11-27 | Fixed #25534, Fixed #31639 -- Added support for transform references in ↵ | Ian Foote | |
| expressions. Thanks Mariusz Felisiak and Simon Charette for reviews. | |||
| 2020-11-16 | Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets. | David-Wobrock | |
| Supported since 84c1826ded17b2d74f66717fb745fc36e37949fd. | |||
| 2020-11-11 | Fixed #31122 -- Clarified that Lookup acts as a query expression. | Caio Ariede | |
| 2020-10-02 | Fixed #32060 -- Added Random database function. | Nick Pope | |
| 2020-09-23 | Fixed example of QuerySet.explain() with flags in docs. | Paweł Zarębski | |
| 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-17 | Refs #28939 -- Doc’d Prefetch behavior with multiple DBs. | Mike Lissner | |
| 2020-09-13 | Corrected exception types in QuerySet docs. | Mariusz Felisiak | |
| 2020-09-11 | Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using ↵ | Hasan Ramezani | |
| a pickled Query. | |||
| 2020-09-02 | Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime(). | Joe Jackson | |
| 2020-08-26 | Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field. | Kaustubh | |
| 2020-08-11 | Fixed #21181 -- Added Collate database function. | Tom Carrick | |
| Thanks Simon Charette for reviews. | |||
| 2020-08-07 | Removed unnecessary sentence in QuerySet docs. | Adam Alton | |
| 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. | |||
