Ralph Reid
950a84ce42
[4.1.x] Fixed #25996 -- Revised performance section in URLs topic docs.
...
Backport of d3579ca1124a163cad760558e8d138984e7a10b4 from main
2022-10-10 08:29:25 +02:00
J.V. Zammit
d959d66fa9
[4.1.x] Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
Backport of fa9ac16c1345a7fb6ad500c84961a954529ba2b9 from main
2022-10-07 09:40:04 +02:00
Chris Wedgwood
7607fc8990
[4.1.x] Fixed #33026 -- Mentioned RequestFactory in testing tools docs.
...
Backport of 468d06109778e3656229ac28c9019ea7246f9b79 from main
2022-09-29 06:00:56 +02:00
Ritik Soni
0859093f7c
[4.1.x] Fixed #34017 -- Doc'd that Argon2id variant is used by Argon2PasswordHasher.
...
Backport of c11336cd990e155371a5185cf3bd6942cad8d9da from main
2022-09-17 09:49:34 +02:00
DevilsAutumn
160d0aacb8
[4.1.x] Fixed #34019 -- Removed obsolete references to "model design considerations" note.
...
Backport of 6b0bbaf453b7286bddf9c47a9dd75ac2acdfd617 from main
2022-09-17 08:34:21 +02:00
Pamela Fox
05ace24d82
[4.1.x] Described Article-Reporter relationship in many-to-one topic.
...
Backport of 8e93fc561e4ead282abe2a12bd6ac393c9d308be from main
2022-09-15 10:49:23 +02:00
Dhanush
148d60de74
[4.1.x] Corrected example of redundant all() in docs.
...
Backport of 6df9398cce063874ae4d59db126d4adacb0fa8d3 from main
2022-09-09 13:34:44 +02:00
Alex Morega
27ad94ab3b
[4.1.x] Fixed #33965 -- Improved file-like object example of ImageField in docs.
...
This uses a valid image.
Backport of 838cc0f449f96c157cb44eb91984a2753edc7f42 from main
2022-08-31 13:17:46 +02:00
Iván Camilo Triviño López
29fac6b616
[4.1.x] Fixed #33958 -- Added imports to examples in "Expressions can reference transforms" section.
...
Backport of 411a6ec93a9b21e5ed1e9fc05b34f021288cd10c from main
2022-08-30 06:06:03 +02:00
Mariusz Felisiak
0890719402
[4.1.x] Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
...
Follow up to 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of 081871bc20cc8b28481109b8dcadc321e177e6be from main
2022-08-26 21:44:24 +02:00
Daniel Hahler
2984e17c64
[4.1.x] Refs #18707 -- Corrected django.test.Client signature in docs.
...
Backport of 6f49b7b69b4e19b0362d4dff35ef7544b94c84a5 from main
2022-08-25 07:51:21 +02:00
Alex Morega
8a8a00388b
[4.1.x] Fixed #33939 -- Used functools.partial() in transaction.on_commit() examples.
...
Backport of 7e6b537f5b92be152779fc492bb908d27fe7c52a from main
2022-08-23 11:58:53 +02:00
Youssef
bee09df39f
[4.1.x] Fixed #33909 -- Corrected django.dispatch.receiver() signature.
...
Backport of 0cbbed49f4fbe60ddf9b452b310815708a64cc64 from main
2022-08-16 06:57:16 +02:00
Alessandro Baccini
8ea203d112
[4.1.x] Fixed typo in docs/topics/i18n/translation.txt.
...
Backport of c614e811f80ae5ce4e8f1461f54f0600707cf0e6 from main
2022-08-08 19:44:32 +02:00
rharri
088537710f
[4.1.x] Fixed typo in docs/topics/testing/tools.txt.
...
Backport of 6654289f5b350dfca3dc4f6abab777459b906756 from main
2022-07-29 09:02:09 +02:00
Mariusz Felisiak
265c3eb602
[4.1.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:03 +02:00
Aristotelis Mikropoulos
501a3e6727
[4.1.x] Fixed typo in docs/topics/signals.txt.
...
Backport of 5eb6a2b33d70b9889e1cafa12594ad6f80773d3a from main
2022-07-02 16:46:49 +02:00
Pablo Montepagano
72358f0110
[4.1.x] Fixed #32749 -- Doc'd PyMemcacheCache defaults.
...
Backport of bb2c5f69f47466fa52f3cf2727d10b3ebd79a4da from main
2022-06-28 21:58:08 +02:00
Christopher Adams
aed1a73e0a
[4.1.x] Fixed #33422 -- Improved docs about isolating apps.
...
Backport of 90d2f9f41671ef01c8e8e7b5648f95c9bf512aae from main
2022-06-27 20:53:06 +02:00
Mariusz Felisiak
6c0ee61797
[4.1.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 07:44:27 +02:00
Grammy Jiang
3b332c6077
[4.1.x] Updated OWASP Top 10 link in security topic.
...
Backport of ef9121f3e6f62060d2904fb1811dbe7d74834686 from main
2022-06-16 06:35:52 +02:00
Tim Graham
566437adc9
[4.1.x] Fixed #33757 -- Clarified Client.post() file upload example.
...
Backport of 61badf1d58e79b84874afa6a1e00b79f20e786d1 from main
2022-06-02 19:04:18 +02:00
Tom Sparrow
33552c7a13
[4.1.x] Removed unnecessary semicolons in docs about performing raw SQL.
...
Backport of e89f9571352f42c7752b351ba1e651485e5e7c51 from main
2022-05-19 10:39:14 +02:00
Simon Willison
aa3197e5f1
[4.1.x] Refs #33646 -- Fixed link markup in queries topic doc.
...
Backport of 4525d689e9ad4667e1798004c25053966c73c2d2 from main
2022-05-18 17:41:34 +02:00
Mariusz Felisiak
02dbf1667c
Fixed #33691 -- Deprecated django.contrib.auth.hashers.CryptPasswordHasher.
2022-05-11 09:13:45 +02:00
Marc Seguí Coll
262fde94de
Fixed #33622 -- Allowed customizing error messages for invalid number of forms.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-10 13:42:31 +02:00
David Smith
ec5659382a
Fixed #32339 -- Added div.html form template.
2022-05-05 14:32:43 +02:00
Carlton Gibson
fde946daff
Refs #32339 -- Restructured outputting HTML form docs.
...
In the topic doc, promoted the Reusable form templates section.
In the reference, re-grouped and promoted the default __str__()
rendering path, and then gathered the various as_*() helpers
subsequently.
Thanks to David Smith for review.
2022-05-04 11:52:48 +02:00
Mariusz Felisiak
37470bbd90
Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.
2022-05-04 06:28:51 +02:00
David
ce586ed693
Removed hyphen from pre-/re- prefixes.
...
"prepopulate", "preload", and "preprocessing" are already in the
spelling_wordlist.
This also removes hyphen from double "e" combinations with "pre" and
"re", e.g. preexisting, preempt, reestablish, or reenter.
See also:
- https://ahdictionary.com/word/search.html?q=rerun
- https://ahdictionary.com/word/search.html?q=recreate
- https://ahdictionary.com/word/search.html?q=predetermined
- https://ahdictionary.com/word/search.html?q=reuse
- https://ahdictionary.com/word/search.html?q=reopening
2022-04-28 10:44:14 +02:00
David
51874dd160
Added backticks to code literals in various docs.
2022-04-28 10:44:14 +02:00
David
1c2bf80acb
Changed "ie." to "i.e." in docs.
2022-04-28 10:37:06 +02:00
Carlton Gibson
476d4d5087
Refs #32339 -- Allowed renderer to specify default form and formset templates.
...
Co-authored-by: David Smith <smithdc@gmail.com>
2022-04-27 10:21:04 +02:00
Andrew Godwin
58b27e0dbb
Fixed #33646 -- Added async-compatible interface to QuerySet.
...
Thanks Simon Charette for reviews.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-04-26 20:25:23 +02:00
Carlton Gibson
6b53114dd8
Refs #33646 -- Added example for async cross-thread connection access.
2022-04-20 14:07:14 +02:00
Theofilos Alexiou
470708f50d
Updated note about ListView pagination example in CBV docs.
...
Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88.
2022-04-19 21:38:49 +02:00
Carlton Gibson
9ffd4eae2c
Fixed #33611 -- Allowed View subclasses to define async method handlers.
2022-04-07 07:05:59 +02:00
Baptiste Mispelon
50e1e7ef8e
Fixed #33348 -- Changed SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset.
...
Instead of taking a response object and a context name for
the form/formset, the two methods now take the object directly.
2022-04-06 07:58:52 +02:00
Lucidiot
13a9cde133
Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD when using Meta.constraints.
2022-04-01 11:39:41 +02:00
sarahboyce
ae506181f7
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.
2022-03-31 17:06:14 +02:00
David
c8459708a7
Refs #32339 -- Added use_fieldset to Widget.
2022-03-30 16:28:14 +02:00
Mariusz Felisiak
010a9d8a4f
Updated various links to HTTPS and new locations.
2022-03-29 07:46:08 +02:00
René Fleschenberg
eb07b5be0c
Fixed #15619 -- Deprecated log out via GET requests.
...
Thanks Florian Apolloner for the implementation idea.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-03-29 06:42:14 +02:00
Carlton Gibson
bb61f0186d
Refs #32365 -- Removed internal uses of utils.timezone.utc alias.
...
Remaining test case ensures that uses of the alias are mapped
canonically by the migration writer.
2022-03-24 06:29:50 +01:00
Mariusz Felisiak
39ae8d740e
Added missing backticks to function names.
2022-03-17 11:10:03 +01:00
David Smith
67b5f506a6
Changed some words to use inline markup.
2022-03-10 10:18:31 +01:00
Adam Johnson
a8c15481f4
Rewrote some references to "master".
...
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
2022-03-08 14:50:06 +01:00
Ryan Heard
c6b4d62fa2
Fixed #29865 -- Added logical XOR support for Q() and querysets.
2022-03-04 12:55:37 +01:00
Nick Pope
847f46e9bf
Removed redundant QuerySet.all() calls in docs and tests.
...
Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager.
2022-02-22 10:29:38 +01:00
Philipp Bosch
737542390a
Fixed typo in docs/topics/i18n/translation.txt.
2022-02-18 13:03:41 +01:00