Commit graph

11479 commits

Author SHA1 Message Date
Florian Apolloner
22c25bea54 [3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
This reverts commit cce47ff65a.

Backport of 549445519c 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 a415ce70be.

Backport of e3f6e18513 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 7e8339748c 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 932bd794b2 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 de1924e0e7 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 6f9ecc23f6 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 1a09708dcb 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 273918c25b 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 d8b2ccbbb8 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 1a2600d8df 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 a45c8d7ad0 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 5978de2ec0 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 0ac8ac8b0d 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 958977f662 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 32166a9f7c 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 cf493e5c81 from master
2020-01-24 12:22:51 +01:00
Adam Johnson
ef22cf41af [3.0.x] Clarified AppConfig.ready() docs example.
Backport of 971a84d6af 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 dffa3e1992.

Backport of 0b013564ef from master
2020-01-22 08:25:23 +01:00
Adam Johnson
a062d432a3 [3.0.x] Made examples concrete in upgrade documentation.
Backport of e4bc4f26b2 from master
2020-01-21 13:03:00 +01:00
Claude Paroz
789de6050a [3.0.x] Added missing backtick in instances docs.
Backport of c7b97ac3a7 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 26be53dd89 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 73563183c2 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 a5a28de89d from master
2020-01-16 14:52:09 +01:00
Carlton Gibson
d74f383e9b [3.0.x] Clarified backport policy for regressions.
Backport of 7400da49a5 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 2d38eb0ab9

Backport of 29c126bb34 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 d202846ced from master
2020-01-15 15:07:52 +01:00
Carlton Gibson
6aac9f6b11 [3.0.x] Refs #31097 -- Added release notes for 2f565f84ac.
.

Backport of 927c903f3c 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 20debf01bd 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 b6251956b6.

Thanks Murat Guchetl for the report.
Backport of 6f7998adc7 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 5166097d7c 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 aa6c620249 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 196009c72c 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 4400d8296d.

Thanks Enrique Matías Sánchez for the report.
Backport of 53d8646f79 from master
2020-01-08 08:06:33 +01:00
Mark Bailey
e7d7e04d95 [3.0.x] Fixed #31103 -- Improved pagination topic documentation.
Backport of 0f0abc20be 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 b23fb2c819 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 fb3f034f1c.

Thanks Sigurd Ljødal for the report.
Backport of 0f843fdd5b 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 3543129822.

Thanks Reupen Shah for the report.

Backport of 9bcbcd599a 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 03f6159407 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 69331bb851 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 434a81d320 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 ef1286e3e3 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 307c63f9a7 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 c07b4bce2c from master
2019-12-31 09:26:07 +01:00
Mads Jensen
222b56474d [3.0.x] Added guidelines for assertIs() usage.
Backport of ea44d86ed4 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 9e14bc2135 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 85458e94e3.

Thanks Reupen Shah for the report.

Backport of 5779cc938a 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 738faf9da2.

Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
Backport of 22ce5d0031 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 5e00bd1f77 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 fb3f034f1c.

Backport of 720de4d044 from master
2019-12-23 09:24:37 +01:00