2984 Commits

Author SHA1 Message Date
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
Chris Jerdonek
b263f4b69d Fixed #32552 -- Added logger argument to DiscoverRunner. 2021-08-24 09:23:01 +02:00
Andrew Northall
c23aa73626 Fixed #32964 -- Corrected 'setup'/'set up' usage in docs. 2021-08-17 12:18:07 +02:00
Jacob Walls
259b28706e
Fixed some broken links and redirects in docs. 2021-08-09 07:07:52 +02:00
David Smith
8208381ba6 Refs #32956 -- Corrected spelling of daylight saving time.
AP Stylebook: Saving not savings, no hyphen, and lowercase.
2021-08-06 13:00:24 +02:00
Ties Jan Hefting
4f3acf9579 Fixed #32984 -- Allowed customizing a deletion field widget in formsets. 2021-08-03 13:12:50 +02:00
Lauri Tirkkonen
4b6208ffdd Updated BaseDatabaseFeatures link in testing tools docs. 2021-08-02 12:48:20 +02:00
David Smith
fbb1984046
Refs #32956 -- Updated words ending in -wards.
AP styleguide: Virtually none of the words ending with -wards end with
an s.
2021-07-30 20:34:50 +02:00
David Smith
1024b5e74a Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate. 2021-07-29 06:24:12 +02:00
David Smith
1cba320786
Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments.
This also removes unnecessary comments with the previous spelling.

AP Stylebook has a short entry to advise the preferred spelling for
"en-us". "Afterwards" is preferred in British English.
2021-07-27 10:41:51 +02:00
ryowright
1783b3cb24 Fixed #32275 -- Added scrypt password hasher.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-22 12:40:33 +02:00
Jacob Walls
56f9579105 Fixed #32655 -- Deprecated extra_tests argument for DiscoverRunner.build_suite()/run_tests(). 2021-07-16 20:46:41 +02:00
Haki Benita
59404e8cfe Fixed typo in docs/topics/signals.txt. 2021-07-16 20:25:36 +02:00
Ties Jan Hefting
84400d2e9d Fixed #32905 -- Added CSS class for non-form errors of formsets. 2021-07-15 07:00:39 +02:00
Daniele Procida
013a1824d3 Refs #32880 -- Created a new logging how-to document.
Moved how-to material from topic document into a new document, and
added new material. Introduced minor improvements to logging
reference document.
2021-07-12 09:04:25 +02:00
Chris Jerdonek
90ba716bf0 Fixed #24522 -- Added a --shuffle option to DiscoverRunner. 2021-07-08 07:29:04 +02:00
Daniele Procida
62988afbea Refs #32880 -- Renamed/reordered logging topic sections.
Moved sections so that how-to type material is all together, and
renamed headings so it's clearer what those sections are about, in
anticipation of creating a separate how-to document and expanding
the material.
2021-07-01 07:30:53 +02:00
Daniele Procida
261ca6ce2e Removed trailing whitespace in logging topic. 2021-07-01 07:12:56 +02:00
Daniele Procida
e3d55eeb14 Refs #32880 -- Moved logging reference to new document.
Completed a first step in moving reference and how-to material out of
the topic document.
2021-06-30 07:21:52 +02:00