Commit graph

30875 commits

Author SHA1 Message Date
Mariusz Felisiak
31d8076c30 [4.1.x] Updated man page for Django 4.1.1. 2022-09-05 05:32:23 +02:00
Mariusz Felisiak
95c5557032 [4.1.x] Added release date for 4.1.1.
Backport of aed92f686d from main
2022-09-05 05:22:07 +02:00
Mariusz Felisiak
f34655d756 [4.1.x] Corrected heading level of "Registering and fetching lookups" section in docs.
Backport of 753602d0c6 from main.
2022-09-04 14:36:54 +02:00
Mariusz Felisiak
a1083805ac [4.1.x] Fixed #33955, Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs."
This reverts commit 7f3cfaa12b.

Thanks Tom Carrick and Greg Kaleka for reports.
Backport of 974942a750 from main
2022-09-01 21:10:43 +02:00
Mariusz Felisiak
02876534ab [4.1.x] Reverted "Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform()."
This reverts commit 7faf25d682. The same
can be achieved with F() so there is no need to expose an extra API.
Backport of cb06f5ef8c from main
2022-08-31 22:13:54 +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 838cc0f449 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 411a6ec93a from main
2022-08-30 06:06:03 +02:00
Ilia Peterov
e992703e07 [4.1.x] Improved example of index on SearchVector in full text search docs.
Backport of 0010721e89 from main
2022-08-29 19:28:57 +02:00
Mariusz Felisiak
524ea6b77b [4.1.x] Refs #33953 -- Fixed test_rename_model_with_db_table_rename_m2m() crash on SQLite < 3.20.
Backport of a9e7beb959 from main
2022-08-29 10:08:26 +02:00
Mariusz Felisiak
e98869a8a8 [4.1.x] Fixed #33960 -- Fixed migrations crash on SQLite < 3.26.
Regression in 0b95a96ee1.

Thanks Aristotelis Mikropoulos for the report.
Backport of 4483a9b12f from main
2022-08-29 09:56:12 +02:00
David Wobrock
fca055315e [4.1.x] Fixed #33952 -- Reallowed creating reverse foreign key managers on unsaved instances.
Thanks Claude Paroz for the report.

Regression in 7ba6ebe914.

Backport of 806e9e2d0d from main
2022-08-27 15:36:13 +02:00
Mariusz Felisiak
0890719402 [4.1.x] Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
Follow up to 2eea361eff.
Backport of 081871bc20 from main
2022-08-26 21:44:24 +02:00
Iuri de Silvio
7d5ccbbe1a [4.1.x] Fixed #33953 -- Reverted "Fixed #33201 -- Made RenameModel operation a noop for models with db_table."
Regression in afeafd6036.
This reverts afeafd6036.

Thanks Timothy Thomas for the report.

Backport of 166a3b3263 from main
2022-08-26 07:14:54 +02:00
Simon Charette
c9ebd5b7aa [4.1.x] Fixed #33938 -- Fixed migration crash for m2m with a through model in another app.
Regression in aa4acc164d.

Thanks bryangeplant for the report.

Backport of 71902e0d9f from main
2022-08-25 10:32:48 +02:00
Daniel Hahler
2984e17c64 [4.1.x] Refs #18707 -- Corrected django.test.Client signature in docs.
Backport of 6f49b7b69b from main
2022-08-25 07:51:21 +02:00
Kanza
dafdcedaf3 [4.1.x] Fixed #33920 -- Doc'd dependency of LOGGING_CONFIG callback on non-empty LOGGING.
Backport of 5f5401b114 from main
2022-08-24 12:28:47 +02:00
Alex Morega
8a8a00388b [4.1.x] Fixed #33939 -- Used functools.partial() in transaction.on_commit() examples.
Backport of 7e6b537f5b from main
2022-08-23 11:58:53 +02:00
Benoît Vinot
85942cf669 [4.1.x] Fixed #33932 -- Fixed altering AutoFields to OneToOneField on PostgreSQL.
Regression in 2eea361eff.

Backport of e3cb8bcb7d from main
2022-08-17 17:43:48 +02:00
Youssef
bee09df39f [4.1.x] Fixed #33909 -- Corrected django.dispatch.receiver() signature.
Backport of 0cbbed49f4 from main
2022-08-16 06:57:16 +02:00
Mohammadtaher Abbasi
c520a5d06e [4.1.x] Fixed #33921 -- Added release note for 5b8699e723.
Backport of e30d667842 from main
2022-08-12 22:39:23 +02:00
Mariusz Felisiak
3848475eeb [4.1.x] Fixed #33919 -- Fixed adding AutoFields on PostgreSQL.
Thanks Jack Calvin Brown for the report.

Regression in 2eea361eff.
Backport of 5c803bc070 from main
2022-08-12 17:31:15 +02:00
Jarosław Wygoda
04ec8bf92a [4.1.x] Refs #26029 -- Doc'd django.core.files.storage.default_storage.
Backport of 9e7cb27a5b from main
2022-08-10 12:24:05 +02:00
David Sanders
e215948f0d [4.1.x] Fixed #33905 -- Fixed CheckConstraint() validation on range fields.
Bug in 667105877e.

Backport of e0ae1363ec from main
2022-08-09 21:45:58 +02:00
Mariusz Felisiak
6b0193146d [4.1.x] Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.
Thanks Adam Zahradník for the report.

Bug in 667105877e.
Backport of 63884829ac from main
2022-08-09 06:09:56 +02:00
Alessandro Baccini
8ea203d112 [4.1.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of c614e811f8 from main
2022-08-08 19:44:32 +02:00
Fiza Ashraf
f546e7c18b [4.1.x] Fixed #33899 -- Fixed migration crash when removing indexed field on SQLite 3.35.5+.
Regression in 702819227fd0cdd9b581cd99e11d1561d51cbeb.

Thanks cessor for the report.

Backport of c0beff2123 from main
2022-08-08 07:26:46 +02:00
Mariusz Felisiak
d9ace347b4 [4.1.x] Fixed #33898 -- Fixed Window() expression crash with ArrayAgg().
Thanks Kia for the report.

Regression in e06dc4571e.
Backport of fd93db97c7 from main
2022-08-06 18:00:38 +02:00
Mariusz Felisiak
d3ef502aa9 [4.1.x] Fixed typo in docs/ref/forms/renderers.txt.
Thanks Josh for the report.
Backport of 00370342ca from main
2022-08-06 13:44:05 +02:00
Fab
82e9e19ebe [4.1.x] Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of admin forms."
Regression in fe7dbef586.

Backport of 0756c61f2a from main
2022-08-05 17:21:38 +02:00
Carlton Gibson
7b0ed458d9 [4.1.x] Refs #33173, Refs #33755 -- Fixed ResourceWarning from unclosed files in ASGI tests.
Backport of f476c8847a from main
2022-08-04 10:14:58 +02:00
Mariusz Felisiak
ab860d4e48 [4.1.x] Fixed #33891 -- Fixed test command crash when running in parallel using spawn.
Thanks Kevin Renskers for the report.

Regression in 41c4cb253c.
Backport of d4db417c8e from main
2022-08-04 09:17:30 +02:00
Claude Paroz
2ae024c744 [4.1.x] Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
Regression in 3079133c73.

Backport of 0638b4e23d from main
2022-08-03 20:25:10 +02:00
Aarni Koskela
a3ce58ac4c [4.1.x] Fixed #33886 -- Reallowed using GeoIP2() when GEOS is not installed.
Regression in 31bef51d8e.

Backport of e7afb8a180 from main
2022-08-03 18:31:15 +02:00
Alberto Planas
9e9bdf8dbd [4.1.x] Fixed #33887 -- Fixed test_fails_squash_migration_manual_porting() on final tags.
Regression in 7c318a8bdd.
Backport of 4e13b40a76 from main
2022-08-03 16:36:48 +02:00
Carlton Gibson
a9268e3225 [4.1.x] Added stub release notes for 4.1.1.
Backport of 09e837c5d9 from main
2022-08-03 10:53:02 +02:00
Carlton Gibson
2fed4f7dd9 [4.1.x] Post-release version bump. 2022-08-03 10:37:44 +02:00
Carlton Gibson
c8eb9a7c45 [4.1.x] Bumped version for 4.0 release. 2022-08-03 10:33:01 +02:00
Carlton Gibson
6cd2f97a4f [4.1.x] Updated release notes for Django 4.1 release.
Backport of a4cb1dae63 from main
2022-08-03 10:26:53 +02:00
Carlton Gibson
c721b569a2 [4.1.x] Added CVE-2022-36359 to security archive.
Backport of 57c7220280 from main
2022-08-03 09:10:23 +02:00
Carlton Gibson
46916665f9 [4.1.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.
Thanks to Motoyasu Saburi for the report.
2022-08-03 08:47:19 +02:00
Carlton Gibson
5359607c89 [4.1.x] Adjusted version 4.0.7 release notes.
Backport of 9062c23de8 from main
2022-08-03 08:37:13 +02:00
Mariusz Felisiak
a3bab93324 [4.1.x] Updated translations from Transifex.
This also fixes related i18n tests.

Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-03 08:02:48 +02:00
Carlton Gibson
064c8100a5 [4.1.x] Doc'd TextField.db_collation as optional.
Matches CharField.db_collation docs.

Thanks to Paolo Melchiorre for the report.

Backport of 5028a02352 from main
2022-08-02 15:18:35 +02:00
Carlton Gibson
8aab03ab55 [4.1.x] Fixed #33876, Refs #32229 -- Made management forms render with div.html template.
Thanks to Claude Paroz for the report.

Backport of 89e695a69b from main
2022-08-02 10:31:04 +02:00
Mariusz Felisiak
bdff4d5b3a [4.1.x] Fixed collation tests on MySQL 8.0.30+.
The utf8_ collations are renamed to utf8mb3_* on MySQL 8.0.30+.
Backport of 88dba2e3fd from main
2022-08-01 09:25:36 +02:00
Mariusz Felisiak
70bd1d4f7a [4.1.x] Ignored d3f5782a33 formatting changes in git blame. 2022-07-31 10:29:14 +02:00
Mariusz Felisiak
d3f5782a33 [4.1.x] Fixed warnings per flake8 5.0.0.
Backport of c18861804f from main
2022-07-31 10:28:17 +02:00
rharri
088537710f [4.1.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 6654289f5b from main
2022-07-29 09:02:09 +02:00
Carlton Gibson
33c2dc8757 [4.1.x] Adjusted release notes for 4.0.7 and 3.2.15.
Backport of cadd864f68 from main
2022-07-27 10:03:40 +02:00
Carlton Gibson
5b509539e2 [4.1.x] Added release date and stub release notes for 4.0.7 and 3.2.15 releases.
Backport of 0c1675781e from main
2022-07-27 09:32:04 +02:00