summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-07-10Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when ↵Thomas Chaumeny
updating conflicts.
2023-06-29Fixed #30382 -- Allowed specifying parent classes in force_insert of ↵Akash Kumar Sen
Model.save().
2023-06-27Added dedicated section for output_field in query expressions docs.nessita
2023-06-27Fixed typo in docs/ref/models/querysets.txt.Mariusz Felisiak
2023-06-23Improved style of n-tuple wording in docs and comments.Nick Pope
2023-06-08Fixed #34604 -- Corrected fallback SQL for n-ary logical XOR.Anders Kaseorg
An n-ary logical XOR Q(…) ^ Q(…) ^ … ^ Q(…) should evaluate to true when an odd number of its operands evaluate to true, not when exactly one operand evaluates to true.
2023-05-24Corrected documentation of Log database function.Stefan Brand
2023-05-17Updated broken links in docs.Mariusz Felisiak
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews.
2023-05-11Fixed #34558 -- Fixed QuerySet.bulk_create() crash with Now() on Oracle.Mariusz Felisiak
2023-04-27Doc'd that Count("*") is equivalent to COUNT(*) SQL.Tom Forbes
2023-04-21Added meaningful titles to ..admonition:: directives.Mariusz Felisiak
2023-04-20Fixed #34440 -- Doc'd that & queryset operator works similar to chaining.David Sanders
2023-04-19Fixed #34435 -- Doc'd that JSONField.default must be a callable.Sage Abdullah
2023-03-21Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵T. Franzel
form fields.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-28Refs #34140 -- Corrected rst code-block and various formatting issues in docs.Joseph Victor Zammit
2023-02-24Doc'd that Meta.indexes is preferred to Field.db_index.Adam Johnson
2023-02-23Fixed #34338 -- Allowed customizing code of ValidationError in ↵Xavier Fernandez
BaseConstraint and subclasses.
2023-02-22Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez
2023-02-14Fixed #34280 -- Allowed specifying different field values for create ↵tschilling
operation in QuerySet.update_or_create().
2023-02-10Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
2023-02-10Fixed #34325 -- Corrected wording in PercentRank() docs.dennisvang
This is consistent with the terminology used for the percent_rank() function in SQLite docs and PostgreSQL docs.
2023-01-20Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.noFFENSE
2023-01-17Refs #33543 -- Made Expression.asc()/desc() and OrderBy raise ValueError ↵Mariusz Felisiak
when nulls_first/nulls_last=False is passed. Per deprecation timeline.
2023-01-17Refs #29984 -- Made QuerySet.iterator() without chunk_size raise ValueError ↵Mariusz Felisiak
after prefetch_related(). Per deprecation timeline.
2023-01-17Refs #32365 -- Removed is_dst argument for various methods and functions.Mariusz Felisiak
Per deprecation timeline.
2023-01-17Removed versionadded/changed annotations for 4.1.Mariusz Felisiak
2022-12-28Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-12-06Fixed #24048 -- Corrected QuerySet.only() docs about interaction with defer().Ryan Cheley
2022-11-14Fixed #34099 -- Added release notes for QuerySet.update_or_create() changes.sarahboyce
Follow up to 6cc0f22a73970dd7c0d29d4d8d2ff9e1cc862b30. Thanks Phil Gyford for the report.
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
- Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents
2022-11-10Improved readability of string interpolation in frequently used examples in ↵Trey Hunner
docs.
2022-11-09Fixed #34135 -- Added async-compatible interface to related managers.Jon Janzen
2022-11-08Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() ↵Jon Janzen
methods for related managers. Bug in 58b27e0dbb3d31ca1438790870b2b51ecdb10500.
2022-11-02Fixed #34112 -- Added async-compatible interface to Model methods.DevilsAutumn
Thanks Adam Johnson for the review.
2022-10-31Fixed #16211 -- Added logical NOT support to F expressions.David Wobrock
2022-10-21Fixed typo in docs/ref/models/querysets.txt.Ryan Cheley
2022-10-20Updated UTC uses to datetime.timezone.utc in docs.Diane DeMers Chen
2022-10-12Refs #34059 -- Doc'd lack of support for validation of constraints with ↵Mariusz Felisiak
JSONFields. Thanks Dan LaManna for the report.
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
Recent refactors allowed GROUP BY aliasing allowed for aliasing to be entirely handled by the sql.Query.set_group_by and compiler layers.
2022-10-03Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.Lily Foote
2022-10-01Clarified how to reference RelatedObjectDoesNotExist exceptions.David Sanders
2022-09-28Changed note about update_fields and pre_save() to admonition.Mariusz Felisiak
Follow up to bf47c719719d0e190a99fa2e7f959d5bbb7caf8a.
2022-09-27Doc'd when pre_save() is called with Model.save()'s update_fields.sarahboyce
2022-09-13Fixed #33996 -- Fixed CheckConstraint validation on NULL values.David Sanders
Bug in 667105877e6723c6985399803a364848891513cc. Thanks James Beith for the report.
2022-09-04Corrected heading level of "Registering and fetching lookups" section in docs.Mariusz Felisiak
2022-09-02Fixed #29799 -- Allowed registering lookups per field instances.Allen Jonathan David
Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring this Google Summer of Code 2022 project.