Commit Graph

865 Commits

Author SHA1 Message Date
Mariusz Felisiak c7bab8d2b7 [2.2.x] Fixed term warning on Sphinx 3.0.1+.
"term" role became case sensitive in Sphinx 3.0.1.
Backport of cc70a0343e from master
2020-06-02 10:57:46 +02:00
Mariusz Felisiak b0d810a77b [2.2.x] Fixed Sphinx warnings on duplicate object descriptions.
Backport of 69e2cd6fed from master.
2020-06-02 10:47:40 +02:00
Carlton Gibson 7deb87c93e [2.2.x] Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
Backport of 3bbf9a489a from master
2020-02-18 19:58:59 +01:00
Mariusz Felisiak 6cf3b6f5cf [2.2.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d105 from master
2019-12-02 07:58:44 +01:00
Baptiste Mispelon 019a1b9274 [2.2.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da67 from master
2019-11-28 08:00:49 +01:00
Farhaan Bukhsh f55f89f908 [2.2.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450ad from master
2019-11-11 10:10:51 +01:00
kola-er 22466f91dc [2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.

Backport of d94d7b113c from master
2019-11-05 14:56:45 +01:00
Antonio Dudarev 43bc59ceb6 [2.2.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655 from master
2019-10-22 14:24:46 +02:00
David Vaz a6972e8854 [2.2.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1. 2019-09-27 13:00:32 +02:00
Mariusz Felisiak ae2dee6ecf [2.2.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa7880 from master
2019-09-23 08:47:01 +02:00
Claude Paroz f452d4232e [2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f44 from master
2019-09-14 17:25:33 +02:00
Andrew 16e5e8ff5a [2.2.x] Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in the database.
Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.

Backport of 29adcd215f from master
2019-08-28 09:07:35 +02:00
Matthew Schinckel 6c17b86590 [2.2.x] Doc'd for_save argument of Expression.resolve_expression().
Backport of dba749917f from master
2019-08-27 17:13:35 +02:00
Carlton Gibson c5cbb797d7 [2.2.x] Fixed #30688 -- Clarified base_manager_name docs.
Backport of 514efa3129 from master
2019-08-09 10:10:15 +02:00
Mariusz Felisiak 0088e59292 [2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation.
Backport of 230d75f59c from master
2019-07-18 12:56:52 +02:00
Alexey Opalev f3b036593f [2.2.x] Fixed typo in docs/ref/models/indexes.txt.
Backport of 2f91e7832f from master
2019-06-24 09:01:12 +02:00
Claude Paroz 3b2701e4f2 [2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
Backport of 8590726a5d from master.
2019-06-22 10:28:26 +02:00
Swat009 c3a0f76d11 [2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model validation.
Backport of 00169bc361 from master
2019-06-20 10:45:20 +02:00
Vyacheslav Ver 36766e1a28 [2.2.x] Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated example of custom aggregate functions.
Backport of 76b3fc5c8d from master
2019-06-11 12:02:02 +02:00
Caio Ariede d6d65c1e87 [2.2.x] Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.
Backport of 5248abe9b0 from master
2019-06-04 14:57:08 +02:00
Brad Solomon 0f0d1cd772 [2.2.x] Fixed #30491 -- Clarified when save() on object with pk executes INSERT.
Backport of 67b6cb7723 from master
2019-05-28 11:28:28 +02:00
GwynBleidD 83605a17f0 [2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.
Backport of 5402061c80 from master
2019-05-20 10:54:19 +02:00
Jon Dufresne ed221f7c97 [2.2.x] Changed docs to link to Python's description of iterable.
Backport of e86cc14bd3 from master
2019-05-17 17:27:57 +02:00
Alex 4ef96cce6a [2.2.x] Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight atomicity warning.
Backport of 1686dce06c from master
2019-05-17 12:25:12 +02:00
Jon Dufresne 08c8838727 [2.2.x] Changed tuple choices to list in docs.
Backport of 97d3321e89 from master
2019-05-15 14:41:01 +02:00
Tobias Kunze 769f87fd24 [2.2.x] Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the field the relation points to.
Backport of a44a21a22f from master
2019-05-07 12:58:55 +02:00
Mariusz Felisiak f24cf51661 [2.2.x] Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.

Backport of 5df3301aab from master
2019-04-25 07:37:34 +02:00
Mariusz Felisiak 158cfebe87 [2.2.x] Fixed UniqueConstraint example in ref/models/constraints.txt.
Backport of f8f0f92ed9 from master
2019-04-25 07:37:21 +02:00
Luke Plant 46416554f3 [2.2.x] Changed tuple Mate.unique_together/permissions to lists in docs.
Backport of 0c916255eb from master
2019-04-24 10:33:05 +02:00
Gary Donovan 0ba78c3989 [2.2.x] Fixed typo in docs/ref/models/instances.txt.
Backport of 516d858e7a from master
2019-04-16 08:27:05 +02:00
sage 86de106864 [2.2.x] Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.
Backport of bfae195b0a from master
2019-04-15 09:13:56 +02:00
Nick Pope 5237da3416 [2.2.x] Removed unnecessary /static from links to PostgreSQL docs.
Backport of 198a2a9381 from master.
2019-03-29 21:50:28 -04:00
Paul Wayper a48c0180f5 [2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
Backport of 1025e76429 from master.
2019-03-18 11:11:55 -04:00
Mariusz Felisiak 62f28f37bf
[2.2.x] Fixed documentation of database representation for ManyToManyField.
Backport of b0799f5d86 from master
2019-02-25 20:08:11 +01:00
Mariusz Felisiak 0aff35459d
[2.2.x] Updated Oracle docs links to Oracle 18c.
Backport of 759a9b710c from master
2019-02-07 10:03:11 +01:00
Sergey Fedoseev 6187519236 [2.2.x] Corrected output of Prefetch.to_attr example.
Backport of ba7a420012 from master.
2019-01-31 09:09:34 -05:00
Day Barr 7185ea6902 [2.2.x] Fixed typo in QuerySet.bulk_update() documentation.
Backport of 51fa59f0b3 from master.
2019-01-17 12:32:22 -05:00
Collin Anderson 769355c765 Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model. 2019-01-15 11:12:17 -05:00
Nick Pope 6d4efa8e6a Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope e85afa5943 Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope c690afb873 Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Nick Pope abf8e390a4 Refs #28643 -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki b69f8eb04c Fixed #30062 -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
Tim Graham cf1fe22009 Fixed typos in docs/ref/models/constraints.txt. 2019-01-10 18:52:42 -05:00
Mads Jensen 4b9d72210f Refs #28643 -- Added NullIf database function.
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-10 12:10:12 -05:00
Hasan Ramezani 52d06d3041 Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates. 2019-01-09 17:54:46 -05:00
Simon Charette bc05547cd8 Fixed #28658 -- Added DISTINCT handling to the Aggregate class. 2019-01-09 17:52:36 -05:00
Paveł Tyślacki bdf3863bdd Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints. 2018-12-29 20:01:29 -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