1
0
mirror of https://github.com/django/django.git synced 2025-04-09 07:56:43 +00:00

30937 Commits

Author SHA1 Message Date
Alexander Kerkum
2d20386b41 [4.1.x] Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg().
Regression in e06dc4571ea9fd5723c8029959b95808be9f8812.

Backport of f88fc72da4eb76f2d464edb4874ef6046f8a8658 from main
2022-09-18 07:39:47 +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
Ferran Jovell
5c4269197c [4.1.x] Fixed #34018 -- Fixed typo in docs/ref/contrib/flatpages.txt.
Backport of 6619baab9b02e9f98598993e14cfc2b462b3a710 from main
2022-09-16 16:33:10 +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
David Sanders
be5e3b46f7 [4.1.x] Fixed #33996 -- Fixed CheckConstraint validation on NULL values.
Bug in 667105877e6723c6985399803a364848891513cc.

Thanks James Beith for the report.

Backport of e14d08cd894e9d91cb5d9f44ba7532c1a223f458 from main
2022-09-13 14:06:46 +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
Simon Charette
e0f14d8389 [4.1.x] Fixed #33992 -- Fixed queryset crash when aggregating over a group containing Exists.
A more in-depth solution is likely to make sure that we always GROUP BY
selected annotations or revisit how we use Query.exists() in the Exists
expression but that requires extra work that isn't suitable for a
backport.

Regression in e5a92d400acb4ca6a8e1375d1ab8121f2c7220be.

Thanks Fernando Flores Villaça for the report.

Backport of 32536b1324e98768dd892980408a8c6b26c23fd9 from main
2022-09-08 08:13:15 +02:00
James Beith
7ba9a44831 [4.1.x] Fixed #33982 -- Fixed migrations crash when adding model with ExclusionConstraint.
Regression in 0e656c02fe945389246f0c08f51c6db4a0849bd2.

Backport of 19e838daa8872ee29fbea0bc471c2a6443f26835 from main
2022-09-07 09:17:23 +02:00
Mariusz Felisiak
4987ce3350 [4.1.x] Added stub release notes for 4.1.2.
Backport of 604fadde11966c5fdfe5a236a7a3963ee868f764 from main
2022-09-05 06:09:35 +02:00
Mariusz Felisiak
ef6e80d4ec [4.1.x] Post-release version bump. 2022-09-05 05:46:37 +02:00
Mariusz Felisiak
a6874fc4f6 [4.1.x] Bumped version for 4.1.1 release. 4.1.1 2022-09-05 05:33:40 +02:00
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 aed92f686d362b731c74a7840085d2e6714e5ef5 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 753602d0c65de4767310bfe4957e489eb94c6517 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 7f3cfaa12b28d15c0ca78bb692bfd6e59d17bff1.

Thanks Tom Carrick and Greg Kaleka for reports.
Backport of 974942a75039ba43e618f6a5ff95e08b5d5176fd 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 7faf25d682b8e8f4fd2006eb7dfc71ed2a2193b7. The same
can be achieved with F() so there is no need to expose an extra API.
Backport of cb06f5ef8c80fc6a610db0fc36fb9dc7c625335a 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 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
Ilia Peterov
e992703e07 [4.1.x] Improved example of index on SearchVector in full text search docs.
Backport of 0010721e892b470e90878f6128b490f52ebac8c4 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 a9e7beb959bc726eab1c192d2625d6ff6cfa70f4 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 0b95a96ee10d3e12aef01d449467bcf4641286b4.

Thanks Aristotelis Mikropoulos for the report.
Backport of 4483a9b12f295908e68b82d6599f460de943444f 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 7ba6ebe9149ae38257d70100e8bfbfd0da189862.

Backport of 806e9e2d0dcf8f58e376fb7e2a8b9771e2a9ce16 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 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of 081871bc20cc8b28481109b8dcadc321e177e6be 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 afeafd6036616bac8263d762c1610f22241c0187.
This reverts afeafd6036616bac8263d762c1610f22241c0187.

Thanks Timothy Thomas for the report.

Backport of 166a3b32632c141541d1c3f0eff18e1d8b389404 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 aa4acc164d1247c0de515c959f7b09648b57dc42.

Thanks bryangeplant for the report.

Backport of 71902e0d9f93670c4f93ff9d66095b0e571be74b 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 6f49b7b69b4e19b0362d4dff35ef7544b94c84a5 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 5f5401b1149dca4a487eec6b1008124eacc7d29f 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 7e6b537f5b92be152779fc492bb908d27fe7c52a 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 2eea361eff58dd98c409c5227064b901f41bd0d6.

Backport of e3cb8bcb7d2a2d392e726ee1f7e32a8d9038e14c from main
2022-08-17 17:43:48 +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
Mohammadtaher Abbasi
c520a5d06e [4.1.x] Fixed #33921 -- Added release note for 5b8699e723d9daf373fff46c6859fed2b780a9bd.
Backport of e30d6678421b7573a1995f61521f14348c9b2a17 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 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of 5c803bc0702511c8bc05e9db600367a465514f82 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 9e7cb27a5b7363239d1db02d29fe12efdf25b899 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 667105877e6723c6985399803a364848891513cc.

Backport of e0ae1363ec2aa71945be26f869cafd4181ccbc95 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 667105877e6723c6985399803a364848891513cc.
Backport of 63884829acd207404f2a5c3cc1d6b4cd0a822b70 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 c614e811f80ae5ce4e8f1461f54f0600707cf0e6 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 c0beff21239e70cbdcc9597e5be09e505bb8f76c 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 e06dc4571ea9fd5723c8029959b95808be9f8812.
Backport of fd93db97c7228b16a4f92f97ef05b0d72418d952 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 00370342ca3a478660372975b3309ffc4d535be1 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 fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.

Backport of 0756c61f2ada56e4ae625589099c0141a77737eb 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 f476c8847a0bf1a4e20becfb3dc66f4da0dbf579 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 41c4cb253c137edf5a96b7408ea55d57d6e0602a.
Backport of d4db417c8e6935222d198925dd4c5ac1ca737909 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 3079133c73f3b8b0e929673b06b62dce1f54be71.

Backport of 0638b4e23dbabdcf7d7a6f2a2d5b95b980dece78 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 31bef51d8ea5e3bf650de1495ae1f0566670b8f3.

Backport of e7afb8a18061f664a5d20d409d423b77195e6060 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 7c318a8bdd66f8c5241864c9970dddb525d0ca4c.
Backport of 4e13b40a764cfdae50416338c5d077e9d9a6d0f1 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 09e837c5d93d8ac22697e711901a63ead59c9fd4 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. 4.1 2022-08-03 10:33:01 +02:00
Carlton Gibson
6cd2f97a4f [4.1.x] Updated release notes for Django 4.1 release.
Backport of a4cb1dae6362d473116bb8c8fd97df89bfe036f8 from main
2022-08-03 10:26:53 +02:00