Florian Apolloner
22c25bea54
[3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
...
This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9.
Backport of 549445519ce90cc5c1e3f981853cc0c67725f3ed from master
2020-02-11 20:40:17 +01:00
Jon Dufresne
7540b7eb31
[3.0.x] Fixed #31253 -- Fixed data loss possibility when using caching from async code.
...
Case missed in a415ce70bef6d91036b00dd2c8544aed7aeeaaed.
Backport of e3f6e18513224c8ad081e5a19da641f49b0b43da from master
2020-02-11 10:12:53 +01:00
Mariusz Felisiak
dc0dfd1dac
[3.0.x] Added stub release notes for 2.2.11.
...
Backport of 7e8339748cc199b4a13513891d9ac4f1e4794588 from master
2020-02-10 08:24:00 +01:00
Mariusz Felisiak
5aaec00606
[3.0.x] Added "Bugfixes" section to release notes for 3.0.4.
...
Backport of 932bd794b29c24536b6277b61175bd11ca9be234 from master
2020-02-10 08:15:40 +01:00
Adam Johnson
9b36348665
[3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
...
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
2020-02-05 12:46:42 +01:00
Vibhu Agarwal
0bf1330fe4
[3.0.x] Fixed #31226 -- Fixed typo in docs/internals/contributing/writing-code/submitting-patches.txt.
...
Backport of 6f9ecc23f676e7a6f25d1a6cf830fe638a1eb589 from master
2020-02-03 20:16:56 +01:00
Vibhu Agarwal
8ed5ac4eb4
[3.0.x] Fixed #31222 -- Fixed typo in docs/internals/contributing/bugs-and-features.txt.
...
Backport of 1a09708dcb2f60ad5ca0a75b8de9619356f74ff6 from master
2020-02-03 11:36:05 +01:00
Carlton Gibson
8aaa7a2960
[3.0.x] Added stub release notes for 3.0.4.
...
Backport of 273918c25b203d32a7922bc7c3610e4a089fe931 from master
2020-02-03 10:24:15 +01:00
Carlton Gibson
5d18016a07
[3.0.x] Added CVE-2020-7471 to security archive.
...
Backport of d8b2ccbbb846328a0938347dc70cb2e603164d9a from master
2020-02-03 10:13:00 +01:00
Carlton Gibson
af1999dd33
[3.0.x] Added release date for 3.0.3.
...
Backport of 1a2600d8dfe86eb0fd0952a8c86107ab20323847 from master
2020-02-03 08:53:28 +01:00
Simon Charette
505826b469
[3.0.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter.
2020-02-03 08:32:54 +01:00
Abhijeet
7d48a4b703
[3.0.x] Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
...
Backport of a45c8d7ad04b73e33b6989c3ffa2b8c51ae3e83b from master
2020-01-29 10:36:52 +01:00
Mariusz Felisiak
b0207ac674
[3.0.x] Updated the GeoJSON format specification link to RFC 7946.
...
Backport of 5978de2ec0787c8912349a72a7143c33f62b980b from master
2020-01-29 09:35:51 +01:00
Mariusz Felisiak
27e4ebc0ba
[3.0.x] Refs #25778 -- Updated some links to HTTPS and new locations.
...
Backport of 0ac8ac8b0dece68072548900e992fc31493154c1 from master
2020-01-29 09:35:45 +01:00
Jon Dufresne
21cc097403
[3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
...
Backport of 958977f662d878c299b3599282f005c3469dbef9 from master
2020-01-29 06:53:43 +01:00
Jon Dufresne
d346f075d0
[3.0.x] Refs #25778 -- Updated sphinx-doc.org links to HTTPS.
...
Backport of 32166a9f7c8afd6d34ff7e7c0a13a46a6eedcc5e from master.
2020-01-29 06:06:23 +01:00
Roy Smith
27739ad3f2
[3.0.x] Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.
...
Backport of cf493e5c819f5ee49b96954f026bec722e19d9c3 from master
2020-01-24 12:22:51 +01:00
Adam Johnson
ef22cf41af
[3.0.x] Clarified AppConfig.ready() docs example.
...
Backport of 971a84d6af9de738be2a7a8344fa8c80671d1729 from master
2020-01-22 13:52:23 +01:00
Eugene Hatsko
a56e45a2bf
[3.0.x] Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key.
...
Regression in dffa3e1992562ba60512d96d1eb5859ffff2ceb5.
Backport of 0b013564ef0609d95b1d263626f2e15bccda1a50 from master
2020-01-22 08:25:23 +01:00
Adam Johnson
a062d432a3
[3.0.x] Made examples concrete in upgrade documentation.
...
Backport of e4bc4f26b27122f5887a5eea811ff985d9ab8b8d from master
2020-01-21 13:03:00 +01:00
Claude Paroz
789de6050a
[3.0.x] Added missing backtick in instances docs.
...
Backport of c7b97ac3a7908dab0825f6bdb61b40f641306a8e from master
2020-01-17 20:27:48 +01:00
Adam Johnson
3c05ab295d
[3.0.x] Added note about incomplete HTML in tutorial 3.
...
Backport of 26be53dd89cef46746b4a67cbc0bb29665e999a6 from master
2020-01-17 15:48:42 +01:00
Takayuki Hirayama
f0e1a69c99
[3.0.x] Fixed #31171 -- Fixed wording in auto-escaping section of custom template tags docs.
...
Backport of 73563183c2ea92e9ef1d3a1f790a503acc14ade2 from master
2020-01-17 09:22:37 +01:00
Anael Mobilia
69c6891140
[3.0.x] Added apps.py to project from tutorials in reusable apps docs.
...
Backport of a5a28de89dabfa03302a5893102b6f1a7c7861a1 from master
2020-01-16 14:52:09 +01:00
Carlton Gibson
d74f383e9b
[3.0.x] Clarified backport policy for regressions.
...
Backport of 7400da49a5d0ec5a087c3cf05e0b2d15048fc93f from master
2020-01-15 15:53:33 +01:00
Carlton Gibson
57468eaff3
[3.0.x] Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
...
Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a
Backport of 29c126bb349526b5f1cd78facbe9f25906f18563 from master
2020-01-15 15:36:28 +01:00
Mariusz Felisiak
8712027b22
[3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
...
Backport of d202846ced2f58d7a34ad80bfe2bde8a542a70b9 from master
2020-01-15 15:07:52 +01:00
Carlton Gibson
6aac9f6b11
[3.0.x] Refs #31097 -- Added release notes for 2f565f84aca136d9cc4e4d061f3196ddf9358ab8.
...
.
Backport of 927c903f3cd25c817c21738328b53991c035b415 from master
2020-01-14 14:36:25 +01:00
Daniel Hahler
d7adaa399e
[3.0.x] Fixed typo in docs/ref/django-admin.txt.
...
Backport of 20debf01bd3b58ba28ffc6606333851a7ef18bea from master
2020-01-13 12:39:44 +01:00
Mariusz Felisiak
92866682c6
[3.0.x] Fixed #31155 -- Fixed a system check for the longest choice when a named group contains only non-string values.
...
Regression in b6251956b69512bf230322bd7a49b629ca8455c6.
Thanks Murat Guchetl for the report.
Backport of 6f7998adc784032f4b8918ca2eea27537ea4cbbe from master
2020-01-11 19:49:38 +01:00
Adam Johnson
16297e7d5e
[3.0.x] Fixed #31154 -- Added support for using enumeration types in templates.
...
Enumeration helpers are callables, so the template system tried to call
them with no arguments.
Thanks Rupert Baker for helping discover this.
Backport of 5166097d7c80cab757e44f2d02f3d148fbbc2ff6 from master
2020-01-10 09:13:36 +01:00
Kal Sze
2efc832cdf
[3.0.x] More accurate terminology ("logger" instead of "logging handler") in logging documentation.
...
Backport of aa6c620249bc8c2a6245c8d7b928b05e7e5e78fc from master
2020-01-09 15:28:55 +01:00
Jack Cushman
b11761e3cc
[3.0.x] Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
...
Backport of 196009c72c7144f25bc5e4029ef519db0190bb89 from master
2020-01-08 11:20:57 +01:00
Mariusz Felisiak
0379da59bd
[3.0.x] Fixed #31141 -- Relaxed system check of translation settings for sublanguages.
...
Regression in 4400d8296d268f5a8523cd02ddc33b12219b2535.
Thanks Enrique Matías Sánchez for the report.
Backport of 53d8646f799de7f92ab9defe9dc56c6125448102 from master
2020-01-08 08:06:33 +01:00
Mark Bailey
e7d7e04d95
[3.0.x] Fixed #31103 -- Improved pagination topic documentation.
...
Backport of 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88 from master
2020-01-07 10:34:19 +01:00
Claude Paroz
4853d0fdc4
[3.0.x] Corrected notes about default date/datetime/time input formats.
...
Backport of b23fb2c8198aee5c209bb24c0738d71970cffdc4 from master
2020-01-06 11:39:47 +01:00
Mariusz Felisiak
4f81f6d236
[3.0.x] Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().
...
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.
Thanks Sigurd Ljødal for the report.
Backport of 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4 from master
2020-01-04 20:49:43 +01:00
Simon Charette
02cda09b13
[3.0.x] Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.
...
The subtract_temporals() database operation was not handling expressions
returning SQL params in mixed database types.
Regression in 35431298226165986ad07e91f9d3aca721ff38ec.
Thanks Reupen Shah for the report.
Backport of 9bcbcd599abac91ea853b2fe10b784ba32df043e from master
2020-01-03 10:35:44 +01:00
Marya Belanger
d975415852
[3.0.x] Fixed typo in docs/index.txt.
...
First steps section is no longer below tutorials overview.
Backport of 03f6159407600de8b98992e675c45bffde9fca5b from master
2020-01-03 07:54:25 +01:00
Mariusz Felisiak
eb94e7ad6b
[3.0.x] Added stub release notes for 3.0.3.
...
Backport of 69331bb851c34f05bc77e9fc24020fe6908b9cd5 from master
2020-01-02 08:41:58 +01:00
Mariusz Felisiak
5738364fd6
[3.0.x] Added release date for 3.0.2.
...
Backport of 434a81d320d1352b7c5db49800a99d0b285eefed from master
2020-01-02 07:57:28 +01:00
Mariusz Felisiak
e2b72f85c2
[3.0.x] Fixed typo in ref/forms/widgets.txt.
...
Backport of ef1286e3e3e2ea1a854b0169da2cefed0241903e from master
2020-01-02 07:47:11 +01:00
Gabriel Augendre
8e432718b8
[3.0.x] Fixed #30780 -- Improved visibility of Getting Help FAQ in tutorials.
...
Backport of 307c63f9a7c90a21368d8361cd76f48f372413ab from master
2019-12-31 09:26:13 +01:00
Gabriel Augendre
00b436adf4
[3.0.x] Refs #30780 -- Moved "First steps" section to the top of index page.
...
Backport of c07b4bce2c1d05308144aec86422d4cd2b45d818 from master
2019-12-31 09:26:07 +01:00
Mads Jensen
222b56474d
[3.0.x] Added guidelines for assertIs() usage.
...
Backport of ea44d86ed43349db25b6b2d8e4d4af2d5c618cf9 from master
2019-12-30 13:04:07 +01:00
Simon Charette
a04e6fb355
[3.0.x] Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
...
Backport of 9e14bc2135cb806b66374bac791c79344fff4ded from master
2019-12-30 08:30:49 +01:00
Simon Charette
7db4ab8439
[3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
...
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.
Regression in 85458e94e38c20e57939947ee515a1a53689659f.
Thanks Reupen Shah for the report.
Backport of 5779cc938a34eb96815c7a40ded2c8f6c8087c58 from master
2019-12-30 08:30:44 +01:00
Mariusz Felisiak
0f8041abd5
[3.0.x] Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK constraints inline and changing data.
...
This allows adding foreign key constraints inline and changing data in
the same migration on PostgreSQL 10+.
Regression in 738faf9da2a5cd03148a36375db80746c99c9623.
Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
Backport of 22ce5d0031bd795ade081394043833e82046016c from master
2019-12-23 23:30:30 +01:00
Jon Dufresne
eb40426259
[3.0.x] Removed unnecessary code-block directives in various docs.
...
Backport of 5e00bd1f7717149573df9607b848297a520881d3 from master
2019-12-23 14:48:16 +01:00
Simon Charette
7b065c41e4
[3.0.x] Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().
...
Clearing the SELECT clause in Query.has_results was orphaning GROUP BY
references to it.
Thanks Thierry Bastian for the report and Baptiste Mispelon for the
bisect.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.
Backport of 720de4d0441fcfdb543051389c70efbe66ed962a from master
2019-12-23 09:24:37 +01:00