summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2023-01-20[4.1.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting ↵noFFENSE
objects. Backport of 5cd1385356d4b275133ddb0f8c78b2f37c5901eb from main
2022-12-06[4.1.x] Fixed #24048 -- Corrected QuerySet.only() docs about interaction ↵Ryan Cheley
with defer(). Backport of 68bd8f4cb4d14dccfb016bb15177506234f567fb from main
2022-11-08[4.1.x] Fixed #34139 -- Fixed acreate(), aget_or_create(), and ↵Jon Janzen
aupdate_or_create() methods for related managers. Bug in 58b27e0dbb3d31ca1438790870b2b51ecdb10500. Backport of 7b94847e384b1a8c05a7d4c8778958c0290bdf9a from main
2022-10-21[4.1.x] Fixed typo in docs/ref/models/querysets.txt.Ryan Cheley
Backport of 38936f6a0cecfdfbfc30009a1f0a725b770f0854 from main
2022-10-20[4.1.x] Updated UTC uses to datetime.timezone.utc in docs.Diane DeMers Chen
Backport of a16132a9c4b32f9580cdda98a2711ae7261c2576 from main
2022-10-12[4.1.x] Refs #34059 -- Doc'd lack of support for validation of constraints ↵Mariusz Felisiak
with JSONFields. Thanks Dan LaManna for the report. Backport of 004f985b918d5ea36fbed9b050459dd22edaf396 from main
2022-10-01[4.1.x] Clarified how to reference RelatedObjectDoesNotExist exceptions.David Sanders
Backport of da02cbd1effc951b14c981925d0e26a39566649e from main
2022-09-28[4.1.x] Changed note about update_fields and pre_save() to admonition.Mariusz Felisiak
Follow up to bf47c719719d0e190a99fa2e7f959d5bbb7caf8a. Backport of 5d36a8266c7d5d1994d7a7eeb4016f80d9cb0401 from main
2022-09-27[4.1.x] Doc'd when pre_save() is called with Model.save()'s update_fields.sarahboyce
Backport of bf47c719719d0e190a99fa2e7f959d5bbb7caf8a from main
2022-09-13[4.1.x] Fixed #33996 -- Fixed CheckConstraint validation on NULL values.David Sanders
Bug in 667105877e6723c6985399803a364848891513cc. Thanks James Beith for the report. Backport of e14d08cd894e9d91cb5d9f44ba7532c1a223f458 from main
2022-09-04[4.1.x] Corrected heading level of "Registering and fetching lookups" ↵Mariusz Felisiak
section in docs. Backport of 753602d0c65de4767310bfe4957e489eb94c6517 from main.
2022-08-02[4.1.x] Doc'd TextField.db_collation as optional.Carlton Gibson
Matches CharField.db_collation docs. Thanks to Paolo Melchiorre for the report. Backport of 5028a02352cb1fe3e64d63a614912ef694838862 from main
2022-07-26[4.1.x] Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key ↵Mariusz Felisiak
transforms on SQLite. Thanks Johnny Metz for the report. Regression in 71ec102b01fcc85acae3819426a4e02ef423b0fa. Backport of e20e5d1557785ba71e8ef0ceb8ccb85bdc13840a from main
2022-06-27[4.1.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main
2022-05-24[4.1.x] Fixed #33724 -- Doc'd exclude argument changes in model validation.Mariusz Felisiak
Thanks אורי for the report. Follow up to 1ea7e3157d1f9b4db71e768d75ea57e47dbd49f9. Backport of 90aabd730a2a434c227faf8a927b0e2ccd67e291 from main
2022-05-18[4.1.x] Refs #30581 -- Updated count of steps in model validation docs.Joachim Jablon
Follow-up to 667105877e6723c6985399803a364848891513cc. Backport of ce7321932d07b7bf9e6be77b9865c5058d9c1e4d from main
2022-05-12Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy ↵Mariusz Felisiak
and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch.
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
2022-05-06Fixed #33680 -- Corrected example of customizing model loading in docs.Ali Toosi
2022-05-04Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak
2022-04-28Removed hyphen from pre-/re- prefixes.David
"prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening
2022-04-26Fixed #33646 -- Added async-compatible interface to QuerySet.Andrew Godwin
Thanks Simon Charette for reviews. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-04-20Refs #33508 -- Corrected note about MySQL/MariaDB support of index ordering.Hannes Ljungberg
2022-03-28Corrected models.FileField signature in docs.Sih Sîng-hông薛丞宏
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
Remaining test case ensures that uses of the alias are mapped canonically by the migration writer.
2022-03-17Added missing backticks to function names.Mariusz Felisiak
2022-03-16Doc'd BaseConstraint.Gagaro
2022-03-10Changed some words to use inline markup.David Smith
2022-03-04Fixed #29865 -- Added logical XOR support for Q() and querysets.Ryan Heard
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
2022-01-25Fixed #29984 -- Added QuerySet.iterator() support for prefetching related ↵Jacob Walls
objects. Co-authored-by: Raphael Kimmig <raphael.kimmig@ampad.de> Co-authored-by: Simon Charette <charette.s@gmail.com>
2022-01-19Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu
Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews.
2021-12-31Fixed #33391 -- Clarified Aggregate.empty_result_set_value docs.Mariusz Felisiak
2021-12-28Avoided counting attributes and methods in docs.Mariusz Felisiak
2021-12-13Corrected example in models.DecimalField docs.Beomsoo Kim
2021-12-08Refs #33319 -- Added note about commutation of QuerySet's | operator.Ömer Faruk Abacı
2021-12-06Fixed #33335 -- Made model validation ignore functional unique constraints.Hannes Ljungberg
Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report.
2021-12-02Fixed #33334 -- Alphabetized form and model fields in reference docs.Shivam Durgbuns
2021-11-23Fixed #33304 -- Allowed passing string expressions to Window(order_by).Simon Charette
2021-11-23Corrected signatures of QuerySet's methods.Mariusz Felisiak
2021-10-18Fixed #33198 -- Corrected BinaryField.max_length docs.Nick Frazier
2021-10-05Fixed #22224 -- Added note about supplying missing values for non-nullable ↵Jacob Walls
fields with blank=True.
2021-10-04Fixed #32888 -- Doc'd that select_for_update() only locks tables with ↵Hannes Ljungberg
selected columns.
2021-10-01Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope
2021-09-29Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵David Wobrock
empty_result_set_value.
2021-09-22Fixed #33129 -- Dropped support for MariaDB 10.2.Mariusz Felisiak
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
2021-09-10Clarified type of Window()'s partition_by and order_by arguments.David Sanders
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵Hasan Ramezani
limit_choices_to.