Hasan Ramezani
52d06d3041
Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.
2019-01-09 17:54:46 -05:00
Nick Pope
83677faf86
Fixed #30056 -- Added SQLite support for StdDev and Variance functions.
2018-12-24 11:14:58 -05:00
Nick Pope
e626a3f993
Renamed Sqlite and Sqlite3 references to SQLite.
2018-12-22 18:52:54 -05:00
Tim Graham
926fa7116f
Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
2018-11-27 11:20:23 -05:00
Simon Charette
9a7d336c38
Corrected Aggregate docs to reflect that it accepts multiple expressions.
2018-11-27 09:22:24 -05:00
ovalseven8
d093e01ec0
Clarified when QuerySet.select_for_update() locks.
2018-10-03 15:29:33 -04:00
Tom Forbes
9cbdb44014
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
2018-09-18 16:14:44 -04:00
Sigurd Ljødal
3e09b37f80
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
2018-08-18 13:09:15 -04:00
Tom
f1fbef6cd1
Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.
2018-08-03 17:40:46 -04:00
Adam Johnson
2e3ba9f592
Removed out of place sentence in QuerySet.count() docs.
2018-08-02 17:36:02 -04:00
Andrew Brown
c0e3c65b9d
Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite.
2018-07-25 18:08:57 -04:00
Colm O'Connor
c530428d36
Fixed #21333 -- Doc'd the & and | queryset operators.
2018-06-29 20:39:18 -04:00
Christian Ledermann
11bfe3a83d
Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
2018-06-16 15:53:54 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -04:00
Tom
c1c163b427
Fixed #28574 -- Added QuerySet.explain().
2018-04-19 10:52:19 -04:00
Daniel Roseman
e6c21217d3
Fixed reference to nonexistent __between lookup.
2018-04-04 09:43:36 -04:00
Quentin Agren
34c5222837
Fixed #29148 -- Doc'd how to use get_or_create() with Q objects.
2018-03-28 10:46:34 -04:00
Alasdair Nicol
0c100f8b57
Clarified docs about ISO 8601 week numbering.
2018-03-21 20:00:39 -04:00
Tim Graham
548f78ba46
Removed redundant lookup name in register_lookup() calls.
2018-02-19 13:12:13 -05:00
Tim Graham
e917ea6bec
Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
2018-02-15 13:17:37 -05:00
Matthew Wilkes
2162f0983d
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
2018-02-10 19:08:55 -05:00
Sergey Fedoseev
01bfa9219b
Fixed typo in bulk_create() documentation.
2018-02-08 10:33:45 +01:00
Tim Graham
e6f0e324e2
Fixed #29081 -- Clarified comments in QuerySet.select_related() example.
2018-01-29 11:11:43 -05:00
Sigurd Ljødal
a455e732a0
Fixed #28650 -- Added TruncWeek database function.
2018-01-27 09:59:13 -05:00
Mariusz Felisiak
7fbb1bd00d
Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
2018-01-19 08:55:29 +01:00
Botond Béres
52aa26e697
Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.
2018-01-12 19:56:16 -05:00
Mariusz Felisiak
2d3cc94284
Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
...
Thanks Tim Graham for the review.
2017-11-12 14:28:11 +01:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Tim Graham
5587485d49
Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
2017-11-06 13:12:14 -05:00
Ran Benita
03049fb8d9
Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
...
Thanks Adam Chidlow for polishing the patch.
2017-10-28 20:33:42 -04:00
Botond Beres
ec5f7cb92e
Fixed typo in docs/ref/models/querysets.txt.
2017-10-25 19:03:21 -04:00
Botond Beres
95a14cfc47
Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
2017-10-25 18:46:25 -04:00
Jozef
3bd69b1261
Fixed typo in docs/ref/models/querysets.txt.
2017-10-17 10:07:20 -04:00
Stefan Schneider
08c8c3ead9
Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
2017-09-29 11:38:28 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Nicolas Delaby
01d440fa1e
Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support.
...
Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22 11:53:17 -04:00
Mads Jensen
d549b88050
Fixed #26608 -- Added support for window expressions (OVER clause).
...
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-18 09:42:29 -04:00
Tim Graham
44a6c27fd4
Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.
...
As of ccbba98131
, both examples don't use
a join.
2017-09-06 19:21:38 -04:00
Sergey Fedoseev
f3c9562143
Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple.
2017-09-06 15:32:32 -04:00
François Freitag
ad4a8acdb5
Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and QuerySet.earliest()/latest().
2017-09-05 20:14:54 -04:00
Tom
b78d100fa6
Fixed #27849 -- Added filtering support to aggregates.
2017-08-12 17:58:28 -04:00
Tom Carrick
3159ad4df6
Fixed #27970 -- Allowed QuerySet.in_bulk() to fetch on fields besides primary key.
2017-07-21 08:34:35 -04:00
Florian Apolloner
adab280cef
Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries.
2017-07-15 08:20:12 -04:00
Tim Graham
2457c1866e
Refs #28352 -- Corrected another QuerySet.values_list() return type in docs example.
2017-07-11 14:22:46 -04:00
Irindu Indeera
babe9e64a6
Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
2017-07-11 14:15:17 -04:00
Ran Benita
b9f7dce84b
Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().
2017-06-29 16:00:15 -04:00
Tim Graham
0877989c94
Fixed typo in docs/ref/models/querysets.txt.
2017-06-09 12:48:24 -04:00
Mads Jensen
c7f6ffbdcf
Fixed #28103 -- Added quarter extract, truncation, and lookup.
...
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-06-08 15:15:29 -04:00
François Freitag
edee5a8de6
Fixed #27639 -- Added chunk_size parameter to QuerySet.iterator().
2017-06-01 17:50:41 -04:00
François Freitag
bf50ae8210
Clarified QuerySet.iterator()'s docs on server-side cursors.
2017-06-01 15:38:30 -04:00