3002 Commits

Author SHA1 Message Date
Nick Pope
a882fa22ba [4.0.x] Removed obsolete doc reference to asyncio.iscoroutinefunction.
Backport of 970f61fefb148284fb2af63b5cc844279254111a from main
2022-10-29 13:35:54 +02:00
Mariusz Felisiak
f78b18f9c8 [4.0.x] Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
Thanks Johnny Metz for the report.

Regression in 71ec102b01fcc85acae3819426a4e02ef423b0fa.
Backport of e20e5d1557785ba71e8ef0ceb8ccb85bdc13840a from main
2022-07-26 20:22:34 +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
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
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
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
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
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
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
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
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
Mariusz Felisiak
1af06ffaa5 [4.0.x] Added missing backticks to function names.
Backport of 39ae8d740e30c18e46873cf82aff76588f1974c7 from main
2022-03-17 11:10:49 +01:00
Philipp Bosch
75872476ec [4.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 737542390af27616d93f86cd418e2d7f3e874b27 from main
2022-02-18 13:04:02 +01:00
Claude Paroz
11881ad69f [4.0.x] Refs #32074 -- Recommended aiosmtpd for minimal SMTP server.
Follow up to 569a33579c3cca5f801c544d9b52a34e3c779424.
Backport of 5d13cc540e29eedafe695338d8ec9ec500185ccd from main
2022-02-12 19:33:55 +01:00
John Hollingsworth
8c407ee7f3 [4.0.x] Fixed #32518 -- Doc'd that QuerySet.contains() should not be overused.
Thanks Tim McCurrach for the idea.

Backport of d70b4bea18c96e518ce14dca96085e9265e8ebb6 from main
2022-02-08 08:33:24 +01:00
Grace Hawkins
3714b44142 [4.0.x] Refs #32243 -- Fixed typo in docs/topics/files.txt.
Backport of 25514b604a64686ba603bf10a8a63390dc38b79d from main
2022-02-05 11:19:53 +01:00
Joshua Massover
76c80d96f3 [4.0.x] Fixed #32243 -- Added docs examples for manually saving Files.
Backport of c9d6e3595cfd0aa58cde1656bd735ecfcd7a872b from main
2022-02-03 09:58:08 +01:00
Mike Lissner
62fe7e08d6 [4.0.x] Improved example of using a custom queryset in Model formsets docs.
Backport of e459b0f5a0b2bfbc2ac45b3e7f21047ec9e4f345 from main
2022-02-03 06:58:51 +01:00
Theofilos Alexiou
efe72cf128 [4.0.x] Added Redis to warning about using cached sessions in docs.
Backport of 3ba60951fcbc8fca3e71d3b78083b100491fa7f9 from main
2022-02-02 20:46:44 +01:00
Brad Solomon
519b6d6070 [4.0.x] Fixed #33443 -- Clarified when PasswordResetView sends an email.
Backport of b55ebe32417e0884b6b8b3e1bc0379033aa221af from main
2022-01-17 08:59:43 +01:00
Mariusz Felisiak
dfda5ff722 [4.0.x] Corrected signatures of some functions in docs.
Backport of 178109c1734ccc16386c3e3cbae1465c7a1b8ed8 from main
2022-01-10 13:31:25 +01:00
David
da710aa3d8 [4.0.x] Removed unused comment directive in CBV topic docs.
Backport of 973fa566521037ac140dcece73fceae50ee522f1 from main
2022-01-05 09:19:54 +01:00
David
17bd04e708 [4.0.x] Fixed malformed attribute directives in docs.
Backport of cc8e771c643b4aed9f1d0b8bfcc5b4a8604385b7 from main
2022-01-05 09:19:44 +01:00
Florian Apolloner
df79ef03ac [4.0.x] Fixed CVE-2021-45115 -- Prevented DoS vector in UserAttributeSimilarityValidator.
Thanks Chris Bailey for the report.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04 10:10:14 +01:00
Luke Plant
7753169585 [4.0.x] Avoided suggestion of plain text database password in sessions topic.
Backport of ccafad2e429468c518c80fb178f9e7a3f06e78e1 from main
2022-01-04 06:48:19 +01:00
Jacob Walls
c46e996307 [4.0.x] Fixed #27936 -- Rewrote spanning multi-valued relationships docs.
Backport of 6174814dbe04fb6668aa212a6cdbca765a8b0522 from main
2021-12-30 09:05:29 +01:00
Mariusz Felisiak
e9b023b8e4 [4.0.x] Added default values to Entry's fields in making queries docs.
This makes it easier to create a data in examples.

Backport of 1283458baae482c2bbb22c842b1db6c832c953f3 from main
2021-12-30 09:05:20 +01:00
Sergey Fursov
76d24d5f16 [4.0.x] Updated example of YAML serialization format in docs.
Backport of feeb0685c62a793c55a058584ba1de45e74f80f7 from main
2021-12-28 13:39:06 +01:00
mgaligniana
cc5bbd447b [4.0.x] Fixed #33338 -- Doc'd that never_cache() decorator set Expires header.
Backport of 669dcefc04837c35fc2ec5ce906d84397005965d from main
2021-12-13 18:38:48 +01:00
Baptiste Mispelon
aa0c8ff9a0 [4.0.x] Fixed #33301 -- Clarified the type of arguments required by custom assertions.
Backport of 528691d1b66b4ecf7bbb55f783fc919d40d4a235 from main
2021-11-26 18:46:58 +01:00
Mariusz Felisiak
1ab5842760 [4.0.x] Refs #33163 -- Corrected example of connection signal handlers in AppConfig.ready().
Backport of 75ee7057e98dd9725fabb98cabe42966fa4c8222 from main
2021-11-26 11:17:02 +01:00
Roxane
350d15d79c [4.0.x] Fixed #33163 -- Added example of connection signal handlers in AppConfig.ready() to docs.
Backport of 2d124f6a1c45afdde8be90c01043e0b14455d41e from main
2021-11-17 12:30:19 +01:00
Mariusz Felisiak
6fc689a22d [4.0.x] Corrected multiply defined labels in docs.
Backport of 60503cc747eeda7c61bab02b71f8f55a733a6eea from main
2021-11-04 10:46:30 +01:00
Brad
ccc4503a82 [4.0.x] Fixed typo in docs/topics/logging.txt.
Backport of c7152cb58ea84f51bc2096fb5d3cf03ab31ea985 from main
2021-11-03 07:42:08 +01:00
Mariusz Felisiak
ea66d1f2ae [4.0.x] Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.
Backport of fd881e8cd9b7686ab8fcd32332100710a8ffaa10 from main
2021-10-19 13:05:42 +02:00
David Smith
6aa917383f [4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Backport of 69b0736fad1d1f0197409ca025b7bcdf5666ae62 from main
2021-10-19 06:33:00 +02:00
sreehari1997
c067a2b68f [4.0.x] Fixed #33172 -- Added example of modifying upload handlers on the fly for CBVs.
Backport of e2f778d57947d168a875159e6df075255eea4bbc from main
2021-10-18 10:25:55 +02:00
Joel Farthing
bc0cc82101 [4.0.x] Fixed #33128 -- Corrected possessive 's usage in FormSet docs.
Backport of 2f144323756fc6f8517e357c540f3570356d9eba from main
2021-09-22 11:56:40 +02:00
Mariusz Felisiak
9511a05074 [4.0.x] Fixed broken links and redirects in docs.
Backport of 1d16dbc74563ec9aeb4bdff870d0fe5064667b26 from main
2021-09-21 09:28:38 +02:00
Mariusz Felisiak
f426df268b [4.0.x] Used :rfc: role in docs/topics/conditional-view-processing.txt.
Backport of f8bab4e0dcdad5cb174998e1b31d74c8434a2477 from main
2021-09-21 09:28:30 +02:00
David Smith
456466d932 Fixed #31026 -- Switched form rendering to template engine.
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope
for reviews.

Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-20 15:50:18 +02:00
Carlton Gibson
306607d5b9 Fixed #32365 -- Made zoneinfo the default timezone implementation.
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews.
2021-09-16 12:11:05 +02:00
Daniyal
ec212c6616 Fixed #33012 -- Added Redis cache backend.
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight,
Mariusz Felisiak, and Nick Pope for reviews and mentoring this
Google Summer of Code 2021 project.
2021-09-14 15:50:08 +02:00
Claude Paroz
676bd084f2 Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-14 12:05:43 +02:00
Adam Johnson
c8d3cbdba8 Refs #31055 -- Doc'd 'databases' argument of check functions. 2021-09-10 11:02:28 +02:00
Andrew-Chen-Wang
301a85a12f Fixed #32076 -- Added async methods to BaseCache.
This also makes DummyCache async-compatible.
2021-09-07 20:14:25 +02:00
Jacob Walls
e75a3a770e
Fixed typo in docs/topics/i18n/formatting.txt. 2021-09-04 20:32:15 +02:00
Eugene Morozov
d89f976bdd Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks recursively. 2021-08-30 07:06:22 +02:00
Zainab Amir
3445c50a3a Made sentence about Model consistent in docs. 2021-08-26 07:55:56 +02:00