Commit graph

12725 commits

Author SHA1 Message Date
Grammy Jiang
6661c48a20 [4.0.x] Updated OWASP Top 10 link in security topic.
Backport of ef9121f3e6 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 d5bc362030 from main
2022-06-01 14:40:58 +02:00
Carlton Gibson
1f1207ec69 [4.0.x] Updated release date for Django 4.0.5.
Backport of 40bf34a92f 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 565ad5ace4 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 ebf25555bb from main
2022-05-31 15:24:47 +02:00
Hasan Ramezani
73b4f3f9b3 [4.0.x] Unified AdminSite imports in docs.
Backport of ce69e34bd6 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 d915dd1c58.

Follow up to 780473d756.

Backport of 90dcf27114 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 1be9585d73 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 e89f957135 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 9f55489529 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 647480166b 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 d27e6b233f 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 faab9e6769 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 df22566748 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 c5fd5e3cc3 from main
2022-05-03 09:19:46 +02:00
Steven DeMartini
2308fb5806 [4.0.x] Refs #23435 -- Added note about GenericForeignKey indexes to docs.
Backport of 562e3bc09a 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 51874dd160 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 15b888bb83 from main
2022-04-28 11:16:36 +02:00
David
1df71f8f89 [4.0.x] Changed "ie." to "i.e." in docs.
Backport of 1c2bf80acb 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 6b53114dd8 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 c8c6a51a38 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 0f0abc20be.
Backport of 470708f50d 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 7d26d5f8f1 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 62ffc9883a 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 b54fd0e36e 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 78eeff8d33 from main
2022-04-11 10:36:26 +02:00
Mariusz Felisiak
00b0fc50e1 [4.0.x] Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL injection on PostgreSQL.
Backport of 6723a26e59 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 93cae5cb2f 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 68357b2ca9.

Backport of 62739b6e26 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 78277faafd 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 ae506181f7 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 0c71e0f9cf.

Regression in 0c71e0f9cf.
Backport of fac662f479 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 83c803f161 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 010a9d8a4f 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 d4bf3b4c75 from main
2022-03-28 20:29:53 +02:00
Samuel Hartmann
280661bf35 [4.0.x] Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.
Clarified that the cached template loader is enabled by default when
DEBUG = False.

Backport of 5cc9464e4d from main
2022-03-22 12:38:19 +01:00
Carlton Gibson
c0a34befea [4.0.x] Fixed #33585 -- Made example git repo URLs use HTTPS protocol.
The SSH-based checkout requires additional configuration, which is
beneficial to defer for new contributors.

Follow up to 3c6a4fdb6d. This commit
updates the remaining examples.
Backport of 9fed515a25 from main
2022-03-22 12:12:47 +01:00
Mariusz Felisiak
fa76f6b83d [4.0.x] Refs #31676 -- Used term "merger" instead of "committer" in docs.
Follow up to caa2dd08c4.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 653daaa60c from main
2022-03-22 11:14:07 +01:00
Mariusz Felisiak
8761407a8f [4.0.x] Renamed Jenkins wiki page to CI.
Jenkins is no longer the only CI tool.
Backport of b07ee98b27 from main
2022-03-19 15:42:10 +01:00
Mariusz Felisiak
1af06ffaa5 [4.0.x] Added missing backticks to function names.
Backport of 39ae8d740e from main
2022-03-17 11:10:49 +01:00
tommcn
de5a453d51 [4.0.x] Corrected CSRF reference in middleware docs.
Backport of 8e63390640 from main
2022-03-17 07:34:36 +01:00
David Sanders
b8f7c84922 [4.0.x] Corrected AppConfig.get_models() signature in docs.
Backport of 7c56fc8e91 from main
2022-03-14 06:56:05 +01:00
Carlton Gibson
d8b437b1fb [4.0.x] Added stub release notes for Django 4.0.4.
Backport of 9652a118ce from main
2022-03-01 09:59:18 +01:00
Carlton Gibson
c33413589d [4.0.x] Updated release date for version 4.0.3.
Backport of 47143e27d4 from main
2022-03-01 09:33:34 +01:00
Mariusz Felisiak
82f25266bf [4.0.x] Fixed #33547 -- Fixed error when rendering invalid inlines with readonly fields in admin.
Regression in de95c82667.

Thanks David Glenck for the report.
Backport of 445b075def from main
2022-03-01 08:10:35 +01:00
Vaarun Sinha
be4a106930 [4.0.x] Refs #33476 -- Mentioned black in docs about pre-commit checks.
Backport of fe3518d25e from main
2022-02-21 07:53:22 +01:00
Andrey Otto
89befae7b5 [4.0.x] Fixed #33530 -- Fixed typo in docs/ref/templates/builtins.txt.
Backport of f70a875cc0 from main
2022-02-21 06:13:59 +01:00
Philipp Bosch
75872476ec [4.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 737542390a from main
2022-02-18 13:04:02 +01:00
Mariusz Felisiak
760b7e7f4f [4.0.x] Fixed #33515 -- Prevented recreation of migration for ManyToManyField to lowercased swappable setting.
Thanks Chris Lee for the report.

Regression in 4328970780.

Refs #23916.
Backport of 1e2e1be02b from main
2022-02-16 21:10:30 +01:00
Claude Paroz
11881ad69f [4.0.x] Refs #32074 -- Recommended aiosmtpd for minimal SMTP server.
Follow up to 569a33579c.
Backport of 5d13cc540e from main
2022-02-12 19:33:55 +01:00