Commit Graph

29372 Commits

Author SHA1 Message Date
Tom Wojcik b2f7b53fac [3.2.x] Fixed #32947 -- Fixed hash() crash on reverse M2M relation when through_fields is a list.
Regression in c32d8f33d8.

Backport of 20226fcd46 from main
2021-07-26 06:41:31 +02:00
Abhyudai de5a044cf4 [3.2.x] Fixed #32950 -- Removed myproject from imports in admin docs where appropriate.
Backport of 019424e44e from main
2021-07-23 06:20:07 +02:00
Carlton Gibson f4cf86f870 [3.2.x] Refs #32949 -- Adjusted release note wording.
Backport of 012f38f959 from main
2021-07-21 12:32:23 +02:00
yakimka 1346381760 [3.2.x] Fixed #32949 -- Restored invalid number handling in DecimalField.validate().
DecimalField must itself validate() values, such as NaN, which cannot be
passed to validators, such as MaxValueValidator, during the
run_validators() phase.

Regression in cc3d24d7d5.

Backport of c542d0a072 from main
2021-07-21 11:23:43 +02:00
Jacob Walls 05e997c404 [3.2.x] Fixed typo in docs/ref/databases.txt.
Backport of 66058c5758 from main
2021-07-19 06:34:01 +02:00
Jacob Walls 9a65e62c93 [3.2.x] Fixed typo in docs/releases/3.1.13.txt.
Backport of 00c724f2f2 from main
2021-07-16 20:30:48 +02:00
Haki Benita 0ee092c8dd [3.2.x] Fixed typo in docs/topics/signals.txt.
Backport of 59404e8cfe from main
2021-07-16 20:26:24 +02:00
Jacob Walls b7d25d025e [3.2.x] Fixed typo in docs/internals/deprecation.txt.
Backport of 10f66c91cb from main
2021-07-16 06:00:52 +02:00
ᴙɘɘᴙgYmɘᴙɘj 6931963886 [3.2.x] Fixed typo in docs/internals/contributing/committing-code.txt.
Backport of 5838102ae6 from main
2021-07-14 20:22:11 +02:00
Mariusz Felisiak f36edbc378 [3.2.x] Refs #31676 -- Removed Django Core-Mentorship mailing list references in docs.
Backport of 37e8367c35 from main
2021-07-13 20:22:17 +02:00
Wille Marcel 527482c513 [3.2.x] Fixed typo in docs/ref/contrib/gis/tutorial.txt.
Backport of 6f60fa97b0 from main
2021-07-09 20:17:46 +02:00
Claude Paroz 1d53d2502d [3.2.x] Documented in_bulk behavior with nonexistent id_list items.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>

Backport of 7309393c3a from main
2021-07-07 10:15:51 +02:00
Mariusz Felisiak 9fadb97583 [3.2.x] Added CVE-2021-35042 to security archive.
Backport of 8feb2a49fa from main
2021-07-01 10:01:23 +02:00
Mariusz Felisiak 92efd69107 [3.2.x] Added stub release notes for Django 3.2.6.
Backport of bcea1a3193 from main
2021-07-01 09:44:18 +02:00
Mariusz Felisiak 3ab942f10a [3.2.x] Post-release version bump. 2021-07-01 08:35:10 +02:00
Mariusz Felisiak 0eca7a6623 [3.2.x] Bumped version for 3.2.5 release. 2021-07-01 08:30:45 +02:00
Simon Charette a34a5f724c [3.2.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by().
Regression introduced in 513948735b
by marking the raw SQL column reference feature for deprecation in
Django 4.0 while lifting the column format validation.

In retrospective the validation should have been kept around and the
user should have been pointed at using RawSQL expressions during the
deprecation period.

The main branch is not affected because the raw SQL column reference
support has been removed in 06eec31970
per the 4.0 deprecation life cycle.

Thanks Joel Saunders for the report.
2021-07-01 08:29:23 +02:00
Mariusz Felisiak da2269dc6f [3.2.x] Added stub release notes for 3.1.13 and release date for 3.2.5.
Backport of 8e97698d7b from main
2021-07-01 06:57:41 +02:00
Thomas Guettler aaef4111ac [3.2.x] Fixed #32850 -- Doc'd Sitemap.paginator.
Backport of 775f7506d7 from main
2021-06-30 20:54:56 +02:00
Claude Paroz 04b744050f
[3.2.x] Updated translations from Transifex. 2021-06-28 07:06:24 +02:00
Hasan Ramezani 8b2b627f34 [3.2.x] Fixed #32863 -- Skipped system check for specifying type of auto-created primary keys on models with invalid app_label.
Regression in b5e12d490a.

Thanks Iuri de Silvio for the report.

Backport of 7a9745fed4 from main
2021-06-22 21:19:47 +02:00
Russell Keith-Magee fb577d85b2 [3.2.x] Added a note about %autoawait off for IPython.
Backport of 4f0a034b9e from main
2021-06-22 10:28:27 +02:00
Timothy McCurrach 3d51e1635a [3.2.x] Fixed #32860 -- Made docs permalinks focusable to improve accessibility.
Backport of 4659a790cf from main
2021-06-21 14:07:27 +02:00
Mariusz Felisiak 826a1659ee [3.2.x] Fixed #32832 -- Fixed adding BLOB/TEXT nullable field with default on MySQL 8.0.13+.
Regression in d4ac23bee1.

Thanks Omkar Deshpande for the report.

Backport of fa0433d05f from main
2021-06-10 20:05:55 +02:00
Mariusz Felisiak bb29174f94 [3.2.x] Refs #32503 -- Added release notes for 5e04e84d67.
Backport of 57bc16b38e from main
2021-06-10 20:05:48 +02:00
Yuekui Li 57146ba388 [3.2.x] Fixed #32503 -- Fixed altering BLOB/TEXT field to non-nullable with default on MySQL 8.0.13+.
MySQL 8.0.13+ supports defaults for BLOB/TEXT but not in the
ALTER COLUMN statement.

Regression in 6b16c91157.

Thanks Matt Westcott for the report.

Backport of 5e04e84d67 from main
2021-06-10 20:01:38 +02:00
Mariusz Felisiak 9b096063c1 [3.2.x] Refs #14357 -- Updated docs about interaction between aggregations and QuerySet.order_by().
Obsolete since 0ddb4ebf7b.
Backport of fcd44b889f from main
2021-06-08 16:39:33 +02:00
Claude Paroz 57a67fffbb [3.2.x] Fixed header underlines in performance docs.
Backport of ecf8af7935 from main
2021-06-05 18:21:19 +02:00
David Smith 32b366a864 [3.2.x] Refs #32338 -- Improved accessibility of RadioSelect examples in docs.
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Backport of d8c17aa10c from main
2021-06-04 10:45:29 +02:00
Takayuki Hirayama 8ec5b7403d [3.2.x] Fixed #32812 -- Restored immutability of named values from QuerySet.values_list().
Regression in 981a072dd4.

Thanks pirelle for the report.

Backport of 0393b9262d from main
2021-06-04 08:27:25 +02:00
Mariusz Felisiak b6e3290383 [3.2.x] Refs #31356 -- Changed IRC links to the Libera.Chat webchat.
Follow up to 66491f08fe.
Backport of f10c52afab from main.
2021-06-03 12:08:56 +02:00
Jacob Walls f07d686974 [3.2.x] Fixed typos in docs.
Backport of f0d0d29f03 from main
2021-06-03 07:50:31 +02:00
Mariusz Felisiak 0b5a66b0d9 [3.2.x] Fixed docs header underlines in security archive.
Backport of d9cee3f5f2 from main
2021-06-02 12:24:26 +02:00
Carlton Gibson 66cc97c6b3 [3.2.x] Added stub release notes for Django 3.2.5.
Backport of ba10772bf6 from main
2021-06-02 11:26:00 +02:00
Carlton Gibson 1aa7bcf482 [3.2.x] Added CVE-2021-33203 and CVE-2021-33571 to security archive.
Backport of a39f235ca4 from main
2021-06-02 11:16:43 +02:00
Carlton Gibson d128f46ceb [3.2.x] Post-release version bump. 2021-06-02 10:50:08 +02:00
Carlton Gibson 843c34b3ab [3.2.x] Bumped version for 3.2.4 release. 2021-06-02 10:46:30 +02:00
Mariusz Felisiak 9f75e2e562 [3.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.
validate_ipv4_address() was affected only on Python < 3.9.5, see [1].
URLValidator() uses a regular expressions and it was affected on all
Python versions.

[1] https://bugs.python.org/issue36384
2021-06-02 10:44:39 +02:00
Florian Apolloner dfaba12cda [3.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' TemplateDetailView. 2021-06-02 10:44:39 +02:00
Carlton Gibson aed1409558 [3.2.x] Confirmed release date for Django 3.2.4, 3.1.12, and 2.2.24.
Backport of f66ae7a2d5 from main
2021-06-02 10:20:17 +02:00
Jacob Walls bf08609501 [3.2.x] Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
Backport of 1443b5e9ac from main
2021-06-02 08:15:41 +02:00
Mariusz Felisiak 94675a7633 [3.2.x] Fixed #32793 -- Fixed loss of precision for temporal operations with DecimalFields on MySQL.
Regression in 1e38f1191d.

Thanks Mohsen Tamiz for the report.
Backport of e703b152c6 from main
2021-06-01 15:13:10 +02:00
Nick Pope b2ff1655fc [3.2.x] Fixed typo in MiddlewareMixin deprecation note.
Backport of e513fb0e77 from main.
2021-05-27 06:54:00 +02:00
Mariusz Felisiak 246a31a843 [3.2.x] Fixed #32783 -- Fixed crash of autoreloader when __main__ module doesn't have __spec__ attribute.
Regression in ec6d2531c5.

Thanks JonathanNickelson for the report.
Backport of 12b19a1d76 from main
2021-05-26 11:20:05 +02:00
Carlton Gibson 4ba4c07e4e [3.2.x] Added stub release notes and date for Django 3.2.4, 3.1.12, and 2.2.24.
Backport of b46dbd4e3e from main
2021-05-26 10:17:27 +02:00
Hasan Ramezani c0d506f5ef [3.2.x] Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for template changes.
Backport of 68357b2ca9 from main
2021-05-26 10:08:58 +02:00
Mariusz Felisiak 143d2a4bbf [3.2.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe from main.
2021-05-20 12:25:07 +02:00
Ben Sturmfels a0782f50d4 [3.2.x] Fixed note about ISP caching in docs.
Regression in 7aabd62380.

Backport of 31b6ce9ff9 from main
2021-05-20 11:24:26 +02:00
Mike Lissner d5c675ac7c [3.2.x] Added note about culling in database cache backend docs.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 6e155d280d from main
2021-05-20 07:02:56 +02:00
David D Lowe 33dec7b13b [3.2.x] Doc'd that HttpRequest.path doesn't contain a query string.
Backport of fa4e963ee7 from main
2021-05-19 11:58:35 +02:00