1
0
mirror of https://github.com/django/django.git synced 2025-07-07 11:19:12 +00:00

30247 Commits

Author SHA1 Message Date
Mariusz Felisiak
0dc9c016fa [4.0.x] Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQL injection.
Thanks Takuto Yoshikai (Aeye Security Lab) for the report.
2022-07-04 08:26:57 +02:00
Aristotelis Mikropoulos
a2b88d7be6 [4.0.x] Fixed typo in docs/topics/signals.txt.
Backport of 5eb6a2b33d70b9889e1cafa12594ad6f80773d3a from main
2022-07-02 16:47:26 +02:00
Mariusz Felisiak
2b901c1be4 [4.0.x] Fixed GEOSTest.test_emptyCollections() on GEOS 3.8.0.
It's a regression in GEOS 3.8.0 fixed in GEOS 3.8.1.
Backport of 863aa7541d30247e7eb7a973ff68a7d36f16dc02 from main
2022-07-01 19:06:44 +02:00
Mariusz Felisiak
4d20d2f7c2 [4.0.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.

Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
2022-06-27 08:04:25 +02:00
Mariusz Felisiak
8a294ee2e0 [4.0.x] Added stub release notes and release date for 4.0.6 and 3.2.14.
Backport of b2eff16806057095c7dd3daa9402ad615e51627f from main
2022-06-27 07:22:22 +02:00
Mariusz Felisiak
1c28443fc9 [4.0.x] Fixed CoveringIndexTests.test_covering_partial_index() when DEFAULT_INDEX_TABLESPACE is set.
Backport of aa8b9279e40da343f5b91e5aec07f868184056f4 from main
2022-06-21 11:43:53 +02:00
Mariusz Felisiak
0f3b25044c [4.0.x] Fixed #33789 -- Doc'd changes in quoting table/column names on Oracle in Django 4.0.
Thanks Paul in 't Hout for the report.

Regression in 1f643c28b5f2b039c47155692844dbae1cb091cd.
Backport of a0608c4b111555023c24ab7333a42ec53dca6b42 from main
2022-06-21 09:11:06 +02:00
Grammy Jiang
6661c48a20 [4.0.x] Updated OWASP Top 10 link in security topic.
Backport of ef9121f3e6f62060d2904fb1811dbe7d74834686 from main
2022-06-16 06:36:21 +02:00
Carlton Gibson
fd68bfa652 [4.0.x] Added stub release notes for 4.0.6.
Backport of d5bc36203057627f6f7d0c6dc97b31adde6f4313 from main
2022-06-01 14:40:58 +02:00
Carlton Gibson
bd5ca017c0 [4.0.x] Post-release version bump. 2022-06-01 14:33:24 +02:00
Carlton Gibson
9736596bce [4.0.x] Bumped version for 4.0.5 release. 4.0.5 2022-06-01 12:31:58 +02:00
Carlton Gibson
1f1207ec69 [4.0.x] Updated release date for Django 4.0.5.
Backport of 40bf34a92fe5e876197df161e13eca3902b8878c from main
2022-06-01 12:26:49 +02:00
Mariusz Felisiak
bc38eafc61 [4.0.x] Fixed #33753 -- Fixed docs build on Sphinx 5+.
Empty language is not supported anymore.
Backport of 565ad5ace46aa1e2368450701cba45dd1a95a026 from main
2022-06-01 12:15:06 +02:00
Mariusz Felisiak
067daffb95 [4.0.x] Bumped minimum Sphinx version to 4.5.0.
Related Sphinx changes:
- https://github.com/sphinx-doc/sphinx/pull/8898
- https://github.com/sphinx-doc/sphinx/issues/8326
Backport of ebf25555bbed3e9112d4b726575d60b242daf48a from main
2022-05-31 15:24:47 +02:00
Hasan Ramezani
73b4f3f9b3 [4.0.x] Unified AdminSite imports in docs.
Backport of ce69e34bd646558bb44ea92cecfd98b345a0b3e0 from main
2022-05-25 13:14:30 +02:00
Sankalp
fe2e147846 [4.0.x] Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not focusable.
Regression in d915dd1c5809d7c2bb3679751cd5277571dcd9f7.

Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.

Backport of 90dcf271147693a8897f644c4c8943c5b73c02f8 from main.
2022-05-21 14:38:53 +02:00
Burak Kadir Er
e85ed998d5 [4.0.x] Fixed #33721 -- Added DE-9IM link in GEOS docs.
Backport of 1be9585d73c50df733eb4d1484651bb8548a1205 from main
2022-05-20 16:48:43 +02:00
Tom Sparrow
1dec0c07de [4.0.x] Removed unnecessary semicolons in docs about performing raw SQL.
Backport of e89f9571352f42c7752b351ba1e651485e5e7c51 from main
2022-05-19 10:39:35 +02:00
David Wobrock
4a86883e0a [4.0.x] Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.

Backport of 9f5548952906c6ea97200c016734b4f519520a64 from main
2022-05-19 07:53:06 +02:00
Mariusz Felisiak
de9c08c0f3 [4.0.x] Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported.
Backport of 647480166bfe7532e8c471fef0146e3a17e6c0c9 from main
2022-05-16 09:33:35 +02:00
Mariusz Felisiak
5c6ebe19cc [4.0.x] Fixed #33681 -- Made Redis client pass CACHES["OPTIONS"] to a connection pool.
Thanks Ben Picolo for the report.
Backport of d27e6b233f83c3429f21ff3c250a28ff302637ef from main
2022-05-16 06:18:49 +02:00
Ali Toosi
8b2a93ee5b [4.0.x] Fixed #33680 -- Corrected example of customizing model loading in docs.
Backport of faab9e6769b01c18d9e3a31504601452eede6150 from main
2022-05-06 07:27:32 +02:00
Alokik Vijay
256db5c048 [4.0.x] Fixed #33658 -- Doc'd ModelChoiceField.blank attribute.
Thanks Mariusz Felisiak for reviewing.

Backport of df22566748faa7bd16a9616617875e8370cbe4ee from main
2022-05-03 15:27:00 +02:00
Carlton Gibson
5db5c33baa [4.0.x] Updated release date for Django 4.0.5.
Backport of c5fd5e3cc3d767f5983d44b30df72a29c9c5de83 from main
2022-05-03 09:19:46 +02:00
Tim Graham
fe2140c1c2 [4.0.x] Removed 'tests' path prefix in a couple tests.
Backport of 694cf458f16b8d340a3195244196980b2dec34fd from main
2022-05-02 07:32:00 +02:00
Jacob Walls
3f5d43ce54 [4.0.x] Refs #31026 -- Changed @jinja2_tests imports to be relative.
Backport of 03a648811615cb623affc2d79dccd4b05919319e from main
2022-05-02 06:11:32 +02:00
Steven DeMartini
2308fb5806 [4.0.x] Refs #23435 -- Added note about GenericForeignKey indexes to docs.
Backport of 562e3bc09aa094a2ebbd3890fa233d04daafa8c9 from main
2022-04-29 09:23:01 +02:00
David
ed6940f0bf [4.0.x] Added backticks to code literals in various docs.
Backport of 51874dd1605d0106c68e854572950d2b6f768fc1 from main.
2022-04-28 11:17:57 +02:00
David
57e7a268b6 [4.0.x] Changed "refactorings" to "refactoring" in docs/releases/1.0.txt.
Backport of 15b888bb833ca2519a90d5eef71e221f192ea7e1 from main
2022-04-28 11:16:36 +02:00
David
1df71f8f89 [4.0.x] Changed "ie." to "i.e." in docs.
Backport of 1c2bf80acb8c434a83a3d29d022dea586609f7b7 from main
2022-04-28 11:16:12 +02:00
Carlton Gibson
86324f37b3 [4.0.x] Refs #33646 -- Added example for async cross-thread connection access.
Backport of 6b53114dd862ec97c282fdfdc83579cbd6d1560d from main
2022-04-20 14:52:52 +02:00
Xiang Zhang
7ac2cd638f [4.0.x] Added TiDB to list of third-party DB backends.
Backport of c8c6a51a3877c0afde4a85edd36ad308dc8909de from main
2022-04-20 08:12:55 +02:00
Theofilos Alexiou
f33c636372 [4.0.x] Updated note about ListView pagination example in CBV docs.
Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88.
Backport of 470708f50d8c13a50770893b8d7181f5218bf3ac from main
2022-04-19 21:39:41 +02:00
Dominik
2fc7cb9d39 [4.0.x] Fixed #33644 -- Corrected FAQ about displaying ManyToManyField in list_filter.
Backport of 7d26d5f8f17637a768f9d46e96547ae12e2418ae from main
2022-04-19 20:22:09 +02:00
Nick Pope
38f12b2a41 [4.0.x] Updated bpo link to use redirect URI.
Mirrors the change made in python/cpython#32342.
Backport of 62ffc9883afdc0a9f9674702661062508230d7bf from main
2022-04-13 13:28:08 +02:00
Mariusz Felisiak
bcfac538ae [4.0.x] Added stub release notes for 4.0.5.
Backport of b54fd0e36eaf8d9dd398a84a6748d60f25793788 from main
2022-04-11 10:53:46 +02:00
Mariusz Felisiak
fa20de5f54 [4.0.x] Added CVE-2022-28346 and CVE-2022-28347 to security archive.
Backport of 78eeff8d33ead67cfc8603477c95e70f8fbe096a from main
2022-04-11 10:36:26 +02:00
Mariusz Felisiak
e53f65012b [4.0.x] Post-release version bump. 2022-04-11 09:10:50 +02:00
Mariusz Felisiak
89807fbde8 [4.0.x] Bumped version for 4.0.4 release. 4.0.4 2022-04-11 09:05:03 +02:00
Mariusz Felisiak
00b0fc50e1 [4.0.x] Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL injection on PostgreSQL.
Backport of 6723a26e59b0b5429a0c5873941e01a2e1bdbb81 from main.
2022-04-11 09:02:58 +02:00
Mariusz Felisiak
800828887a [4.0.x] Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra() against SQL injection in column aliases.
Thanks Splunk team: Preston Elder, Jacob Davis, Jacob Moore,
Matt Hanson, David Briggs, and a security researcher: Danylo Dmytriiev
(DDV_UA) for the report.

Backport of 93cae5cb2f9a4ef1514cf1a41f714fef08005200 from main.
2022-04-11 09:02:14 +02:00
Manel Clos
78e553b48a [4.0.x] Fixed #33628 -- Ignored directories with empty names in autoreloader check for template changes.
Regression in 68357b2ca9e88c40fc00d848799813241be39129.

Backport of 62739b6e2630e37faa68a86a59fad135cc788cd7 from main.
2022-04-11 08:29:10 +02:00
Mariusz Felisiak
7700084142 [4.0.x] Added stub release notes and release date for 4.0.4, 3.2.13, and 2.2.28.
Backport of 78277faafd38d8360efc1fd0c9c52d7bb5eec002 from main
2022-04-04 10:50:15 +02:00
sarahboyce
51374161b0 [4.0.x] Fixed #32129 -- Adjusted the docs for session expiry helpers.
Updated the docs for `get_session_cookie_age`, `get_expiry_age`, and
`get_expiry_date` to clarify their intended usage by session backends
when saving the session.

Backport of ae506181f7fb9d9e74f4935686540bef29b60255 from main
2022-03-31 18:37:55 +02:00
Mariusz Felisiak
7d540d67a8 [4.0.x] Fixed #33598 -- Reverted "Removed unnecessary reuse_with_filtered_relation argument from Query methods."
Thanks lind-marcus for the report.

This reverts commit 0c71e0f9cfa714a22297ad31dd5613ee548db379.

Regression in 0c71e0f9cfa714a22297ad31dd5613ee548db379.
Backport of fac662f4798f7e4e0ed9be6b4fb4a87a80810a68 from main
2022-03-30 07:32:38 +02:00
Mariusz Felisiak
f62816bfc6 [4.0.x] Updated Oracle docs links to Oracle 21c.
Backport of 83c803f161044fbfbfcd9a0c94ca93dc131be662 from main
2022-03-29 09:43:03 +02:00
Mariusz Felisiak
0da90533f2 [4.0.x] Updated various links to HTTPS and new locations.
Backport of 010a9d8a4f45252b908337988690c3fad138e334 from main
2022-03-29 07:46:55 +02:00
Sih Sîng-hông薛丞宏
7f69c0d9f7 [4.0.x] Corrected models.FileField signature in docs.
Backport of d4bf3b4c75c0e1229062ad4c937725931f699fb7 from main
2022-03-28 20:29:53 +02:00
Mariusz Felisiak
efb26f1b8d [4.0.x] Reverted "Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+."
This reverts commit 1d9d082acf6e152c06833bb9698f88d688b95e40.
Backport of abfdb4d7f384fb06ed9b7ca37b548542df7b5dda from main
2022-03-26 12:28:33 +01:00
Mariusz Felisiak
6a80fd1465 [4.0.x] Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+.
See https://github.com/pallets/jinja/pull/1621.
Backport of 1d9d082acf6e152c06833bb9698f88d688b95e40 from main
2022-03-25 08:49:57 +01:00