summaryrefslogtreecommitdiff
path: root/docs/ref/models/querysets.txt
AgeCommit message (Collapse)Author
2021-03-25[3.2.x] Refs #31003 -- Moved note about return value of ↵Claude Paroz
QuerySet.bulk_create() to the first paragraph. Backport of cac9ec73db35a6d38d33f271f4724da486c60e9f from main.
2021-03-04[3.2.x] Refs #32483 -- Doc'd caveat about using JSONField key transforms to ↵Mariusz Felisiak
booleans with QuerySet.values()/values_list() on SQLite. Backport of c6b07627fcb5d1c8d2082714ef5adb63bee6cf4c from master
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-11Fixed #32313 -- Corrected QuerySet.in_bulk() signature.Iuri de Silvio
2021-01-05Fixed #32231 -- Allowed passing None params to QuerySet.raw().Alexander Lyabah
2020-12-15Added backticks to code literals in various docs.Jon Dufresne
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-09-23Fixed example of QuerySet.explain() with flags in docs.Paweł Zarębski
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-08-26Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.Kaustubh
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-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-06-15Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on ↵Tobias Krönke
MariDB and MySQL.
2020-06-03Preferred usage of among/while to amongst/whilst.David Smith
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-06Improved wording in Q() docs.Adam Johnson
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-03-31Fixed #31403 -- Added support for returning fields from INSERT statements on ↵Adam Johnson
MariaDB 10.5+.
2020-03-20Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().Hasan Ramezani
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-06Added missing backticks in various docs.Mariusz Felisiak
2020-02-10Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create().Adam Johnson
2019-12-02Fixed #30953 -- Made select_for_update() lock queryset's model when using ↵Mariusz Felisiak
"self" with multi-table inheritance. Thanks Abhijeet Viswa for the report and initial patch.
2019-11-05Fixed #30928 -- Clarified MySQL/MariaDB support of ↵kola-er
QuerySet.select_for_update() options. Thanks Par Andersson for reporting the issue.
2019-10-24Refs #30897 -- Made cosmetic edits to QuerySet.explain() documentation.Carlton Gibson
2019-10-24Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on ↵Nick Pope
MariaDB and MySQL 8.0.18+.
2019-10-24Refs #30897 -- Added support for TREE format to Queryset.explain() on MySQL ↵Nick Pope
8.0.16+.
2019-10-22Refs #13724 -- Corrected QuerySet signature in docs.Antonio Dudarev
2019-10-21Fixed #30841 -- Deprecated using non-boolean values for isnull lookup.André Ericson
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵Anatol Ulrich
lookup.
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-08-28Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in ↵Andrew
the database. Note was missing for date, year, iso_year, week, time, hour, minute, and second lookups.
2019-07-31Fixed #30665 -- Added support for distinct argument to Avg() and Sum().Étienne Beaulé
2019-05-17Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight ↵Alex
atomicity warning.
2019-04-23Fixed #30365 -- Fixed syntax highlighting in SQL examples.Daniel Musketa
Sphinx interprets some "%[a-z]" in SQL statements as a "Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-03-29Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
2019-03-18Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().Paul Wayper
2019-02-07Updated Oracle docs links to Oracle 18c.Mariusz Felisiak
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-02-04Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham