summaryrefslogtreecommitdiff
path: root/docs/ref/models/querysets.txt
AgeCommit message (Collapse)Author
2017-11-12[2.0.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for ↵Mariusz Felisiak
union(), difference(), and intersection(). Thanks Tim Graham for the review. Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-07[2.0.x] Fixed #28770 -- Warned that quoting a placeholder in a raw SQL ↵Tim Graham
string is unsafe. Thanks Hynek Cernoch for the report and review. Backport of 327f0f37ce3c1e5ac3a19668add237ddd92266d6 from master
2017-11-06[2.0.x] Fixed #28765 -- Clarified docs about what types the __in lookup accepts.Tim Graham
Backport of 5587485d49af8b32ab660854f751a234baa6610b from master
2017-10-28[2.0.x] Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE ↵Ran Benita
.. OF. Thanks Adam Chidlow for polishing the patch. Backport of 03049fb8d96ccd1f1ed0285486103542de42faba from master
2017-10-25[2.0.x] Fixed typo in docs/ref/models/querysets.txt.Botond Beres
Backport of ec5f7cb92e315846cb020b909b0ab7e0489aad05 from master
2017-10-25[2.0.x] Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation ↵Botond Beres
queries. Backport of 95a14cfc47de5762ddb1400e6e5152f9e3172657 from master
2017-10-17[2.0.x] Fixed typo in docs/ref/models/querysets.txt.Jozef
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-09-29[2.0.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.Stefan Schneider
Backport of 08c8c3ead97893ec0e1dece699525ad7ed27c2d7 from master
2017-09-22Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵Nicolas Delaby
support. Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch.
2017-09-06Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.Tim Graham
As of ccbba98131ace3beb43790c65e8f4eee94e9631c, both examples don't use a join.
2017-09-06Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple.Sergey Fedoseev
2017-09-05Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵François Freitag
QuerySet.earliest()/latest().
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-07-21Fixed #27970 -- Allowed QuerySet.in_bulk() to fetch on fields besides ↵Tom Carrick
primary key.
2017-07-15Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and ↵Florian Apolloner
intersection() queries.
2017-07-11Refs #28352 -- Corrected another QuerySet.values_list() return type in docs ↵Tim Graham
example.
2017-07-11Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.Irindu Indeera
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-06-09Fixed typo in docs/ref/models/querysets.txt.Tim Graham
2017-06-08Fixed #28103 -- Added quarter extract, truncation, and lookup.Mads Jensen
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-06-01Fixed #27639 -- Added chunk_size parameter to QuerySet.iterator().François Freitag
2017-06-01Clarified QuerySet.iterator()'s docs on server-side cursors.François Freitag
2017-05-06Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.François Freitag
When a connection pooler is set up in transaction pooling mode, queries relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS setting in DATABASES disables server-side cursors for this use case.
2017-04-11Updated docs after changing select_for_update() to raise NotSupportedError.Ran Benita
Follow up to 054a44d6f0f75395bd02a21e31ea904a24750a2b.
2017-04-05Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt.Sudhanshu Mishra
2017-02-24Made a few queryset lookup examples consistent.Alexkane
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-19Refs #23919 -- Removed docs references to long integers.Tim Graham
2017-01-18Refs #23919 -- Removed Python 2 notes in docs.Tim Graham
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2017-01-17Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.Tim Graham
2017-01-17Removed GeoManager and GeoQuerySet per deprecation timeline.Tim Graham
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2016-12-27Used a nontemporal example in QuerySet.bulk_create() in docs.Tim Graham
2016-12-14Added Prefetch import to first use in QuerySet docs.Perry Roper
2016-11-11Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.Mads Jensen
Thanks to Mariusz Felisiak and Tim Graham for review.
2016-10-31Updated Oracle docs links to Oracle 12c.Mariusz Felisiak
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-25Updated postgresql.org links to https and made them canonical.Marti Raudsepp
2016-10-13Fixed #27342 -- Corrected QuerySet.update_or_create() example.Tim Graham
2016-09-30Updated links to the current version of MySQL docs.Tim Graham
2016-08-19Fixed #26987 -- Documented using QuerySet.get() without arguments.Abhishek Bera
2016-08-18Fixed #25871 -- Added expressions support to QuerySet.values().Ian Foote
2016-08-08Fixed #26500 -- Added SKIP LOCKED support to select_for_update().Simon Charette
Thanks Tim for the review.
2016-08-05Fixed #26706 -- Made RelatedManager modification methods clear ↵Yoong Kang Lim
prefetch_related() cache.
2016-07-08Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette
Thanks Tim for the review.
2016-06-04Fixed a typo in docs/ref/models/querysets.txtVytis Banaitis
2016-06-03Fixed #26638 -- Allowed callable arguments for ↵Will Koster
QuerySet.get_or_create()/update_or_create() defaults.