| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-11-26 | [6.0.x] Fixed #31506 -- Clarified that ExpressionWrapper does not perform ↵ | Cha Hwa Young | |
| database casts. Added warning in DateField documentation about type differences when using timedelta on PostgreSQL and MySQL. Mentioned Cast() and integer arithmetic solutions. Backport of 55af4749b9a48b2978e893e7d7be313c0b2abdb1 from main. | |||
| 2025-11-13 | [6.0.x] Fixed #36686 -- Clarified Meta.ordering is ignored in GROUP BY queries. | Kasyap Pentamaraju | |
| Backport of 7e765a68598b2b798e49bf1f4b431a7bcac085a4 from main. | |||
| 2025-11-10 | [6.0.x] Clarified "get_db_prep_value" default result in ↵ | Clifford Gama | |
| docs/ref/models/fields.txt. Backport of c135be349ddd9fd71b15d4b20e7fc46814e4ca7c from main. | |||
| 2025-10-17 | [6.0.x] Fixed #36669 -- Doc'd that negative indexes are not supported in F() ↵ | aj2s | |
| slices. Backport of f715bc8990b5b8a1df948c2b71e8edbdda47e7db from main. | |||
| 2025-10-08 | [6.0.x] Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching. | Natalia | |
| Thanks Simon Charette for the review. Backport of 608d3ebc8889863d43be1090d634b9507fe4a85e from main. | |||
| 2025-10-08 | [6.0.x] Added missing backticks in docs/ref/models/fields.txt. | Mariusz Felisiak | |
| Backport of 4a8ca8bd6906b705c4445bc915d71beda2fc4b84 from main | |||
| 2025-10-03 | [6.0.x] Refs #36143, #28596 -- Avoided mentioning exact query parameter ↵ | Jacob Walls | |
| limit in bulk_create() docs. Backport of 0a09c60e97166e0188717ff340b4d93b72207e96 from main. | |||
| 2025-09-16 | Fixed #36426 -- Added support for further iterables in ↵ | blingblin-g | |
| prefetch_related_objects(). Thanks Sarah Boyce for the review. | |||
| 2025-09-14 | Fixed #27222 -- Refreshed model field values assigned expressions on save(). | Simon Charette | |
| Removed the can_return_columns_from_insert skip gates on existing field_defaults tests to confirm the expected number of queries are performed and that returning field overrides are respected. | |||
| 2025-09-14 | Refs #27222 -- Refreshed GeneratedFields values on save() initiated update. | Simon Charette | |
| This required implementing UPDATE RETURNING machinery that heavily borrows from the INSERT one. | |||
| 2025-08-31 | Removed unused import in docs/ref/models/expressions.txt example. | Clifford Gama | |
| 2025-08-28 | Ensured :doc: role uses absolute targets in docs. | Adam Johnson | |
| 2025-08-28 | Fixed #36570 -- Removed unnecessary :py domain from documentation roles. | SaJH | |
| Signed-off-by: SaJH <wogur981208@gmail.com> | |||
| 2025-08-25 | Refs #36485 -- Rewrapped docs to 79 columns line length. | David Smith | |
| Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content. | |||
| 2025-08-25 | Refs #36485 -- Removed double spaces after periods in sentences. | Natalia | |
| 2025-08-25 | Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵ | David Smith | |
| docs. | |||
| 2025-08-13 | Aligned format of constraint examples in docs/ref/models/constraints.txt. | David Sanders | |
| 2025-08-04 | Fixed #35972 -- Fixed lookup crashes after subquery annotations. | Jacob Walls | |
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 2025-06-11 | Fixed #36425 -- Standardized integer fields descriptions. | junghwan16 | |
| 2025-05-20 | Fixed #34262 -- Added support for AnyValue for SQLite, MySQL, Oracle, and ↵ | ontowhee | |
| Postgresql 16+. Thanks Simon Charette for the guidance and review. Thanks Tim Schilling for the documentation review. Thanks David Wobrock for investigation and solution proposals. | |||
| 2025-05-02 | Fixed #17461 -- Doc'd the presumed order of foreign keys on the intermediary ↵ | Clifford Gama | |
| model of a self-referential m2m. Thanks Giannis Terzopoulos and Sarah Boyce for the reviews. | |||
| 2025-04-15 | Fixed #36311 -- Unified spelling of "hardcode" and its variants in docs. | Ahmed Nassar | |
| Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-04-02 | Fixed #36213 -- Doc'd MySQL's handling of self-select updates in ↵ | Babak Mahmoudy | |
| QuerySet.update(). Co-authored-by: Andro Ranogajec <ranogaet@gmail.com> | |||
| 2025-03-26 | Fixed #36260 -- Made bulk_create() work with DB-generated primary keys. | Dmitry Shachnev | |
| Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-03-25 | Fixed #36262 -- Made GeneratedField.db_persist a required key-word argument. | Jason Cameron | |
| 2025-03-21 | Refs #36095 -- Doc'd that ManyToManyField.through supports lazy relationships. | Clifford Gama | |
| 2025-03-14 | Fixed pronoun disagreement in docs/ref/models/querysets.txt. | Clifford Gama | |
| 2025-03-14 | Corrected aggregation example in docs/ref/models/querysets.txt. | Clifford Gama | |
| 2025-03-13 | Fixed incorrect formatting for inline pluralized code references in docs. | Clifford Gama | |
| 2025-03-10 | Fixed #33579 -- Specialized exception raised on forced update failures. | Simon Charette | |
| Raising DatabaseError directly made it harder than it should to differentiate between IntegrityError when a forced update resulted in no affected rows. Introducing a specialized exception allows for callers to more easily silence, log, or turn them update failures into user facing exceptions (e.g. 404s). Thanks Mariusz for the review. | |||
| 2025-03-10 | Fixed #36066 -- Documented that Q objects can be used directly in annotations. | samruddhiDharankar | |
| 2025-03-04 | Fixed #36128 -- Clarified auto-generated unique constraint on m2m through ↵ | Clifford Gama | |
| models. | |||
| 2025-03-03 | Fixed #35444 -- Added generic support for Aggregate.order_by. | Chris Muthig | |
| This moves the behaviors of `order_by` used in Postgres aggregates into the `Aggregate` class. This allows for creating aggregate functions that support this behavior across all database engines. This is shown by moving the `StringAgg` class into the shared `aggregates` module and adding support for all databases. The Postgres `StringAgg` class is now a thin wrapper on the new shared `StringAgg` class. Thank you Simon Charette for the review. | |||
| 2025-02-20 | Clarified admonition in GeneratedField docs. | Adam Zapletal | |
| 2025-02-18 | Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc. | Mariusz Felisiak | |
| datetime.UTC was added in Python 3.11. | |||
| 2025-02-14 | Corrected wording in docs/ref/models/constraints.txt. | Luke Cousins | |
| 2025-01-24 | Fixed ambiguous pronoun reference in docs/ref/models/fields.txt. | Clifford Gama | |
| 2025-01-15 | Refs #35234 -- Removed CheckConstraint.check per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #35060 -- Removed passing positional arguments to Model.save()/asave() ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-15 | Refs #34355 -- Removed support for positional arguments in BaseConstraint ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-15 | Removed versionadded/changed annotations for 5.1. | Sarah Boyce | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2025-01-15 | Refs #36070 -- Referred to pk as an attribute when a composite primary key ↵ | Jacob Walls | |
| is defined. This is to avoid confusion that a field is often associated with having a single associated database column. | |||
| 2025-01-14 | Fixed #36051 -- Declared arity on aggregate functions. | Jacob Walls | |
| Follow-up to 4a66a69239c493c05b322815b18c605cd4c96e7c. | |||
| 2025-01-14 | Fixed #36075 -- Documented how to introspect composite primary keys. | Simon Charette | |
| Document _meta.pk_fields and interactions between Field.primary_key and CompositePrimaryKey. Thanks Mariusz for the review. | |||
| 2025-01-13 | Fixed #36077 -- Corrected docs on pk value where Model.save() executes an ↵ | Jacob Walls | |
| UPDATE. The empty string is no longer special-cased since c2ba59fc1da5287d6286e2c2aca4083d5bafe056. | |||
| 2025-01-07 | Refs #36042 -- Raised ValueError when providing composite expressions to ↵ | Jacob Walls | |
| aggregates. | |||
| 2025-01-06 | Fixed #35718 -- Add JSONArray to django.db.models.functions. | John Parton | |
| Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2024-12-16 | Refs #35718, Refs #32179 -- Moved JSONObject to django.db.models.functions.json. | Sage Abdullah | |
| 2024-11-29 | Fixed #373 -- Added CompositePrimaryKey. | Bendeguz Csirmaz | |
| Thanks Lily Foote and Simon Charette for reviews and mentoring this Google Summer of Code 2024 project. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Lily Foote <code@lilyf.org> | |||
