summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2021-01-28[3.2.x] Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about ↵Timothy McCurrach
duplicates for multiple batches. Backport of 241da3f06ee0c6f436341cda5890b221ac453e3b from master
2021-01-22[3.2.x] Refs #32372 -- Updated manager name in related objects reference docs.Jack
Follow up to 725c549ae7a34d83447201da7190f8d71c7fc2fc. Backport of 2b4b6c8af0aae8785bc1347cf1be2e8e70fd5ff3 from master
2021-01-22[3.2.x] Fixed #32372 -- Made examples in related objects reference docs ↵Jack Aitken
consistent. Backport of 725c549ae7a34d83447201da7190f8d71c7fc2fc from master
2021-01-13Fixed #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-12Removed unused import in docs/ref/models/expressions.txt. (#13879)Mariusz Felisiak
2021-01-11Fixed #32313 -- Corrected QuerySet.in_bulk() signature.Iuri de Silvio
2021-01-07Fixed #32315 -- Doc'd FieldFile.path.Hasan Ramezani
2021-01-05Fixed #32231 -- Allowed passing None params to QuerySet.raw().Alexander Lyabah
2021-01-04Fixed #32310 -- Fixed note about reverse accessors for intermediate table ↵Fabio Sangiovanni
for self-referential ManyToManyField.
2020-12-30Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.Mariusz Felisiak
2020-12-21Corrected code-block directives in docs/ref/models/meta.txt.Jon Dufresne
2020-12-15Fixed #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-15Added backticks to code literals in various docs.Jon Dufresne
2020-12-10Refs #31792 -- Updated SQL example in Exists() docs.Kevin Marsh
Follow up to 51297a92324976a704279b567ec4f80bb92d7b60.
2020-12-02Fixed #32179 -- Added JSONObject database function.Artur Beltsov
2020-11-27Fixed #25534, Fixed #31639 -- Added support for transform references in ↵Ian Foote
expressions. Thanks Mariusz Felisiak and Simon Charette for reviews.
2020-11-16Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets.David-Wobrock
Supported since 84c1826ded17b2d74f66717fb745fc36e37949fd.
2020-11-11Fixed #31122 -- Clarified that Lookup acts as a query expression.Caio Ariede
2020-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-09-23Fixed example of QuerySet.explain() with flags in docs.Paweł Zarębski
2020-09-21Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-09-17Refs #28939 -- Doc’d Prefetch behavior with multiple DBs.Mike Lissner
2020-09-13Corrected exception types in QuerySet docs.Mariusz Felisiak
2020-09-11Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using ↵Hasan Ramezani
a pickled Query.
2020-09-02Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson
2020-08-26Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.Kaustubh
2020-08-11Fixed #21181 -- Added Collate database function.Tom Carrick
Thanks Simon Charette for reviews.
2020-08-07Removed unnecessary sentence in QuerySet docs.Adam Alton
2020-07-31Fixed #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-22Fixed typo in docs/ref/models/querysets.txt.Ramiro Morales
2020-07-22Doc'd Model.MultipleObjectsReturned docs and improved documentation related ↵Adam Johnson
with models exceptions.
2020-07-22Refs #24763 -- Moved DoesNotExist to Model class docs.Adam Johnson
2020-07-17Improved ManyToManyField.through docs.Adam Johnson
2020-07-15Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests.Simon Charette
2020-07-15Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette
This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that.
2020-07-13Fixed #31770 -- Allowed select_for_update(of) on MySQL 8.0.1+.Simon Charette
2020-07-09Fixed #29789 -- Added support for nested relations to FilteredRelation.matt ferrante
2020-07-08Fixed #31573 -- Made QuerySet.update() respect ordering on MariaDB/MySQL.davidchorpash
2020-07-08Fixed #31502 -- Documented Model._state.db and Model._state.addingTim Park
2020-06-26Fixed #31743 -- Doc't that managed=False prevents Django from managing ↵Steven Pousty
tables modifications.
2020-06-16Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint.Hannes Ljungberg
2020-06-15Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on ↵Tobias Krönke
MariDB and MySQL.
2020-06-04Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg
2020-06-04Fixed #31650 -- Added note uniqueness of constraints names in docs.Hasan Ramezani
2020-06-03Preferred usage of among/while to amongst/whilst.David Smith
2020-05-27Fixed #31606 -- Allowed using condition with lookups in When() expression.Ryan Heard
2020-05-21Fixed #30375 -- Added FOR NO KEY UPDATE support to ↵Manuel Weitzman
QuerySet.select_for_update() on PostgreSQL.
2020-05-13Removed versionadded/changed annotations for 3.0.Mariusz Felisiak
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-06Improved wording in Q() docs.Adam Johnson