Adam Johnson
ad09b1687d
[4.0.x] Added TemplatesSetting to list of built-in renderers in FORM_RENDERER docs.
...
Backport of fde425051c31b240e8eca48a8eb54daa6d372c9f from main
2021-12-22 07:59:58 +01:00
Brenton Partridge
b85ceaaba6
[4.0.x] Fixed #32600 -- Fixed Geometry collections and Polygon segmentation fault on macOS ARM64.
...
Backport of 19fb838803f63eef0726a370050443b693f109be from main
2021-12-21 13:36:08 +01:00
Simon Charette
7e6a2e3b45
[4.0.x] Fixed #33366 -- Fixed case handling with swappable setting detection in migrations autodetector.
...
The migration framework uniquely identifies models by case insensitive
labels composed of their app label and model names and so does the app
registry in most of its methods (e.g. AppConfig.get_model) but it
wasn't the case for get_swappable_settings_name() until this change.
This likely slipped under the radar for so long and only regressed in
b9df2b74b98b4d63933e8061d3cfc1f6f39eb747 because prior to the changes
related to the usage of model states instead of rendered models in the
auto-detector the exact value settings value was never going through a
case folding hoop.
Thanks Andrew Chen Wang for the report and Keryn Knight for the
investigation.
Backport of 43289707809c814a70f0db38ca4f82f35f43dbfd from main
2021-12-17 10:00:33 +01:00
Mariusz Felisiak
c1d2e8b9b8
[4.0.x] Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.
...
Regression in 3fd82a62415e748002435e7bad06b5017507777c.
Thanks Terence Honles for the report.
Backport of 40165eecc40f9e223702a41a0cb0958515bb1f82 from main
2021-12-16 20:14:17 +01:00
Mariusz Felisiak
267a743bf2
[4.0.x] Refs #33365 , Refs #30530 -- Doc'd re_path() behavior change in Django 2.2.25, 3.1.14, and 3.2.10.
...
Follow up to d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6.
Backport of 5de12a369a7b2231e668e0460c551c504718dbf6 from main
2021-12-15 18:54:35 +01:00
Jeremy Lainé
3b03bce122
[4.0.x] Fixed #33361 -- Fixed Redis cache backend crash on booleans.
...
Backport of 2f33217ea2cad688040dd6044cdda946c62e5b65 from main
2021-12-14 08:46:16 +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
Beomsoo Kim
c607ee949d
[4.0.x] Corrected example in models.DecimalField docs.
...
Backport of 7e4a9a9f696574a18f5c98f34d5a88e254b2d394 from main
2021-12-13 07:20:56 +01:00
Wayne Lambert
e39e5fa8e6
[4.0.x] Updated link to Microsoft SQL Server backend.
...
Backport of 8a8c8797e81b338f3c93a5a4e2483916e68e4a54 from main
2021-12-13 07:17:33 +01:00
Ömer Faruk Abacı
bb8435f5db
[4.0.x] Refs #33319 -- Added note about commutation of QuerySet's | operator.
...
Backport of f04b44bad40369ec2df74b16adb4d3f09350e4b2 from main
2021-12-08 21:59:40 +01:00
Baptiste Mispelon
15031852c5
[4.0.x] Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset named "form".
...
Thanks OutOfFocus4 for the report.
Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
Backport of cb383753c0e0eb52306e1024d32a782549c27e61 from main.
2021-12-08 21:13:00 +01:00
Nick Pope
b7f2afa8de
[4.0.x] Improved release notes wording for template-based form rendering.
...
Backport of dfdf1c68645627f54259dbe25f5b42329ee83b5d from main
2021-12-07 13:35:03 +01:00
Mariusz Felisiak
81a90b5bc3
[4.0.x] Added stub release notes for 4.0.1.
...
Backport of adef3d975e55c55b020c2f357d82c2db11e58450 from main
2021-12-07 10:42:26 +01:00
Mariusz Felisiak
0f4fa0caee
[4.0.x] Finalized release notes for Django 4.0.
...
Backport of d7bd9eb6cda0aff4634cbb453622b24a98933463 from main
2021-12-07 10:03:39 +01:00
Mariusz Felisiak
01c0fb9d19
[4.0.x] Updated asgiref dependency for 4.0 release series.
...
Backport of 513441240f874dd0b6187c0c6aaa3e8eccd8ddbe from main
2021-12-07 09:55:18 +01:00
Mariusz Felisiak
7f20e89453
[4.0.x] Added CVE-2021-44420 to security archive.
...
Backport of 8747052411275d290b2152ffcb8dee11afbb82cd from main
2021-12-07 08:53:48 +01:00
Florian Apolloner
20b9ad36ff
[4.0.x] Fixed #30530 , CVE-2021-44420 -- Fixed potential bypass of an upstream access control based on URL paths.
...
Thanks Sjoerd Job Postmus and TengMA(@te3t123) for reports.
Backport of d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6 from main.
2021-12-07 06:29:34 +01:00
Hannes Ljungberg
fed7f992ac
[4.0.x] Fixed #33335 -- Made model validation ignore functional unique constraints.
...
Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa.
Thanks Hervé Le Roy for the report.
Backport of 1eaf38fa87384fe26d1abf6e389d6df1600d4d8c from main
2021-12-06 13:28:54 +01:00
Mariusz Felisiak
2c20883cb0
[4.0.x] Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on PostgreSQL.
...
This makes models.BinaryField pickleable on PostgreSQL.
Regression in 3cf80d3fcf7446afdde16a2be515c423f720e54d.
Thanks Adam Zimmerman for the report.
Backport of 2c7846d992ca512d36a73f518205015c88ed088c from main.
2021-12-03 11:58:55 +01:00
Shivam Durgbuns
306fbf197a
[4.0.x] Fixed #33334 -- Alphabetized form and model fields in reference docs.
...
Backport of d75c387f46c55459a2daf071e5463bad0ad7dcbd from main
2021-12-02 10:12:31 +01:00
Mariusz Felisiak
2fa95bfbd4
[4.0.x] Added stub release notes and release date for 3.2.10, 3.1.14 and 2.2.25.
...
Backport of ae4077e13ea2e4c460c3f21b9aab93a696590851 from main
2021-11-30 11:26:10 +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
Ryuji Tsutsui
5a61bdbb85
[4.0.x] Fixed typo in docs/releases/4.0.txt.
...
Backport of b8c0b22f2f0f8ce664642332d6d872f300c662b4 from main
2021-11-24 17:38:53 +01:00
Mariusz Felisiak
70b05c5374
[4.0.x] Corrected signatures of QuerySet's methods.
...
Backport of a17becf4c7f4e4057e8c94990e4b4999be0aea95 from main
2021-11-23 07:04:59 +01:00
Mariusz Felisiak
8e5405a47e
[4.0.x] Corrected isort example in coding style docs.
...
Follow up to e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.
Backport of 8b020f2e64f1cbf2b06205a389a13af6623f90ce from main
2021-11-22 12:34:52 +01:00
Paolo Melchiorre
cf770b2b3d
[4.0.x] Corrected "pip install" call in coding style docs.
...
Backport of dd528cb2cefc0db8b91a7ff0a2bc87305b976597 from main
2021-11-22 09:57:23 +01:00
jhisham
35c63c0513
[4.0.x] Added Malay language.
...
Backport of 5e218cc0b704ebf64c460050a97b5fafe63e92b0 from main
2021-11-18 22:05:27 +01:00
Mariusz Felisiak
b41f669049
[4.0.x] Fixed crash building HTML docs since Sphinx 4.3.
...
See dd2ff3e911
.
Backport of f0480ddd2d3cb04b784cf7ea697f792b45c689cc from main
2021-11-17 12:31:46 +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
b7b3bbc835
[4.0.x] Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage."
...
This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb.
`export` and `import` directives have several syntax variants and not
all of them were properly covered.
Thanks Hervé Le Roy for the report.
Backport of ba9ced3e9a643a05bc521f0a2e6d02e3569de374 from main
2021-11-05 12:11:59 +01:00
Carlton Gibson
3151daaa6c
[4.0.x] Refs #33263 -- Expanded release notes for DeleteView adopting FormMixin.
...
Backport of 2c01ebb4be5d53cbf6450f356c10e436025d6d07 from main
2021-11-05 10:27:40 +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
Carlton Gibson
2877d26448
[4.0.x] Refs #33247 -- Corrected configuration for Read The Docs.
...
This pins Sphinx version, because the default Sphinx version used by
RTD is not compatible with Python 3.8+.
This also, sets Python 3.8 for RTD builds which is compatible with all
current versions of Django.
Thanks to Mariusz Felisiak for the suggestion.
Backport of 447b6c866f0741bb68c92dc925a65fb15bfe7995 from main
2021-11-03 18:46:08 +01:00
Adam Johnson
b3be91dabf
[4.0.x] Corrected module reference in contributing tutorial.
...
Backport of 9f3bd9dfc42b4e0ff89566763d211ab9e8f50d5e from main
2021-11-03 07:47:44 +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
b4ad6e32ca
[4.0.x] Added stub release notes for Django 3.2.10.
...
Backport of d811fa1d1012e746719aa3af351f56ad21f92610 from main
2021-11-01 10:42:21 +01:00
Mariusz Felisiak
a98bbcc2bb
[4.0.x] Added release date for 3.2.9.
...
Backport of 7ec603ba259083298c9598a41987b4c4f2a5d134 from main
2021-11-01 10:19:32 +01:00
Vikash Singh
149db49b96
[4.0.x] Added Google Cloud Spanner to list of third-party DB backends.
...
Backport of 125f9afc2c42449ee79283fefa778651acfd4aed from main
2021-11-01 10:10:33 +01:00
Carlton Gibson
afe090481f
[4.0.x] Refs #33182 -- Adjusted custom admin theming example to use correct template block.
...
Backport of a754b82dac511475b6276039471ccd17cc64aeb8 from main
2021-10-27 12:17:21 +02:00
Arkadiusz Adamski
ac815f6ea8
[4.0.x] Fixed #33210 -- Clarified docs for sitemaps ping_google() helper.
...
Backport of 1405dc78872f9d18180feebb4f2c57dbe1259acb from main
2021-10-21 20:27:53 +02:00
Mariusz Felisiak
a2e1cdc8ca
[4.0.x] Fixed #33215 -- Confirmed support for GEOS 3.10.
...
Backport of 9231526af4b9825583b0d3cb943f88109fd30551 from main
2021-10-21 20:25:28 +02:00
David Smith
5d62beb61a
[4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
...
Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main
2021-10-20 09:11:04 +02: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
Hannes Ljungberg
00aa3e0b9b
[4.0.x] Fixed #33194 -- Fixed migrations when altering a field with functional indexes/unique constraints on SQLite.
...
This adjusts Expressions.rename_table_references() to only update alias
when needed.
Regression in 83fcfc9ec8610540948815e127101f1206562ead.
Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main
2021-10-18 09:36:21 +02:00
Nick Frazier
f5fd03aebe
[4.0.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
...
Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
2021-10-18 08:24:08 +02:00
Mariusz Felisiak
6a16d53039
[4.0.x] Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.
...
asyncore and smtpd modules were deprecated in Python 3.10.
Backport of 569a33579c3cca5f801c544d9b52a34e3c779424 from main
2021-10-15 09:58:53 +02:00
Mariusz Felisiak
7e5f3b5480
[4.0.x] Used :source: role in docs/howto/custom-template-tags.txt.
...
Backport of 94beb679a6448e2d88f9e088151a1af2e859d6de from main
2021-10-14 06:05:49 +02:00