Commit Graph

27564 Commits

Author SHA1 Message Date
Florian Apolloner 4e8d6a1baf [3.0.x] Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.
Thanks to Oskar Persson for the report.

Backport of 41a3b3d186 from master
2020-02-11 20:40:24 +01:00
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 9e27650e6a [3.0.x] Post-release version bump. 2020-02-03 09:58:56 +01:00
Carlton Gibson c459a4661b [3.0.x] Bumped version for 3.0.3 release. 2020-02-03 09:51: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
Mariusz Felisiak 673444da5e [3.0.x] Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected annotations with aggregations used in order_by().
Regression in 59b4e99dd0.

Thanks Jon Dufresne for the report and Simon Charette for the review.
Backport of 6b178a3e93 from master
2020-02-03 07:48:53 +01:00
Claude Paroz ca4f87027e [3.0.x] Updated translations from Transifex 2020-01-31 20:01:27 +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
Sergey Fedoseev d7e4d6463c [3.0.x] Fixed #31195 -- Relaxed GeometryDistance test for PROJ 5.2+.
Backport of 31e2ab345b from master
2020-01-21 22:51:45 +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
Mariusz Felisiak 5b6778b8b9 [3.0.x] Refs #31097 -- Added django.db.models.Q import to contrib.postgres aggregates tests. 2020-01-17 09:13:11 +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
Mariusz Felisiak a24686987f [3.0.x] Refs #31136 -- Made QuerySet.values()/values_list() group only by selected annotation.
Regression in 0f843fdd5b.
Backport of 59b4e99dd0 from master
2020-01-15 09:33:36 +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
David Wobrock 0e6cf4393c [3.0.x] Fixed #31097 -- Fixed crash of ArrayAgg and StringAgg with filter when used in Subquery.
Backport of 2f565f84ac from master
2020-01-14 09:49:56 +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
Mariusz Felisiak f9110a1b6d [3.0.x] Fixed timezones tests for PyYAML 5.3+.
Backport of 8be477be5c from master
2020-01-07 09:55:15 +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 09b4224e11 [3.0.x] Refs #31040 -- Fixed crypt.crypt() call in test_hashers.py.
An empty string is invalid salt in Python 3 and raises exception since
Python 3.9, see https://bugs.python.org/issue38402.
Backport of 1960d55f8b from master
2020-01-03 07:47:56 +01:00