summaryrefslogtreecommitdiff
path: root/docs/ref/models/querysets.txt
AgeCommit message (Collapse)Author
2019-12-02[3.0.x] Fixed #30953 -- Made select_for_update() lock queryset's model when ↵Mariusz Felisiak
using "self" with multi-table inheritance. Thanks Abhijeet Viswa for the report and initial patch. Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
2019-11-05[3.0.x] Fixed #30928 -- Clarified MySQL/MariaDB support of ↵kola-er
QuerySet.select_for_update() options. Thanks Par Andersson for reporting the issue. Backport of d94d7b113c21d7a0fd802fadb1adbbec8155e880 from master
2019-10-22[3.0.x] Refs #13724 -- Corrected QuerySet signature in docs.Antonio Dudarev
Backport of 6c23b43655f3710cfb1ecc57236405d11a544247 from master
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
2019-01-31Corrected output of Prefetch.to_attr example.Sergey Fedoseev
2019-01-17Fixed typo in QuerySet.bulk_update documentation (#10859)Day Barr
Looks like an accidental carry over from the pre-existing QuerySet.bulk_create documentation.
2019-01-17Removed versionadded/changed annotations for 2.1.Tim Graham
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-09Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.Hasan Ramezani
2018-12-24Fixed #30056 -- Added SQLite support for StdDev and Variance functions.Nick Pope
2018-12-22Renamed Sqlite and Sqlite3 references to SQLite.Nick Pope
2018-11-27Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.Tim Graham
2018-11-27Corrected Aggregate docs to reflect that it accepts multiple expressions.Simon Charette
2018-10-03Clarified when QuerySet.select_for_update() locks.ovalseven8
2018-09-18Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes
2018-08-18Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.Sigurd Ljødal
2018-08-03Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.Tom
2018-08-02Removed out of place sentence in QuerySet.count() docs.Adam Johnson
2018-07-25Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite.Andrew Brown
2018-06-29Fixed #21333 -- Doc'd the & and | queryset operators.Colm O'Connor
2018-06-16Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.Christian Ledermann
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-04Fixed reference to nonexistent __between lookup.Daniel Roseman
2018-03-28Fixed #29148 -- Doc'd how to use get_or_create() with Q objects.Quentin Agren
2018-03-21Clarified docs about ISO 8601 week numbering.Alasdair Nicol
2018-02-19Removed redundant lookup name in register_lookup() calls.Tim Graham
2018-02-15Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with ↵Tim Graham
manually specified pks.
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-02-08Fixed typo in bulk_create() documentation.Sergey Fedoseev
2018-01-29Fixed #29081 -- Clarified comments in QuerySet.select_related() example.Tim Graham
2018-01-27Fixed #28650 -- Added TruncWeek database function.Sigurd Ljødal
2018-01-19Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().Mariusz Felisiak
2018-01-12Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.Botond Béres
2017-11-12Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), ↵Mariusz Felisiak
difference(), and intersection(). Thanks Tim Graham for the review.
2017-11-07Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.Tim Graham
Thanks Hynek Cernoch for the report and review.
2017-11-06Fixed #28765 -- Clarified docs about what types the __in lookup accepts.Tim Graham
2017-10-28Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.Ran Benita
Thanks Adam Chidlow for polishing the patch.