Carlton Gibson
c779808c8e
[5.2.x] Fixed #33497 -- Doc'd that persistent DB connections should be disabled in ASGI and async modes.
...
Backport of 8713e4ae96 from main.
2025-03-18 21:28:07 -03:00
Clifford Gama
bcb6ada288
[5.2.x] Fixed #36202 -- Added examples of JSONField __contains and __contained_by lookups with nested arrays to docs.
...
Backport of 304e9f3d6a from main
2025-03-18 21:54:46 +01:00
Clifford Gama
428cb3afd6
[5.2.x] Fixed #36078 -- Doc'd that Postgres normalizes a range field with no points to empty.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com >
Backport of 611e7bc3a0 from main.
2025-03-18 16:51:11 +01:00
hesham942
1d8696bfc6
[5.2.x] Fixed #36252 -- Handled duplicate automatic imports in the shell command.
...
Backport of e804a07d76 from main.
2025-03-17 16:30:31 -03:00
YQ
181280027d
[5.2.x] Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
...
Backport of 30e0a43937 from main.
2025-03-17 09:47:46 +01:00
Clifford Gama
9b60ec56dd
[5.2.x] Fixed pronoun disagreement in docs/ref/models/querysets.txt.
...
Backport of ef6a83789b from main.
2025-03-14 10:49:28 +01:00
Clifford Gama
fa2adc383f
[5.2.x] Corrected aggregation example in docs/ref/models/querysets.txt.
...
Backport of 3235e76eb5 from main.
2025-03-14 10:48:54 +01:00
Clifford Gama
91971013a1
[5.2.x] Fixed incorrect formatting for inline pluralized code references in docs.
...
Backport of efe3ca09e0 from main.
2025-03-13 15:23:55 -03:00
hesham hatem
0a61485092
[5.2.x] Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.
...
Backport of e03440291b from main.
2025-03-12 18:09:46 -03:00
Adam Johnson
95031c1ab1
[5.2.x] Fixed #36234 -- Restored single_object argument to LogEntry.objects.log_actions().
...
Thank you Adam Johnson for the report and fix. Thank you Sarah Boyce for
your spot on analysis.
Regression in c09bceef68 , which is
partially reverted in this branch.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com >
Backport of 27b68bcadf from main.
2025-03-12 16:36:48 -03:00
Adam Johnson
5fdc951f43
[5.2.x] Refs #25582 -- Doc'd query and fragment arguments for reverse_lazy().
...
Backport of c70dbcf835 from main.
2025-03-12 16:43:13 +01:00
Hisham Mahmood
957ddfedec
[5.2.x] Removed duplicate entries in docs/releases/5.2.txt.
...
Backport of 955b7c6ba1 from main.
2025-03-12 11:06:26 +01:00
samruddhiDharankar
930d9c2fd9
[5.2.x] Fixed #36066 -- Documented that Q objects can be used directly in annotations.
...
Backport of 9120a19c4e from main.
2025-03-10 12:55:50 +01:00
Sarah Boyce
2bfec6c84b
[5.2.x] Added CVE-2025-26699 to security archive.
...
Backport of bad1a18ff2 from main.
2025-03-06 14:06:06 +01:00
Sarah Boyce
0e2349207c
[5.2.x] Added stub release notes for 5.1.8.
...
Backport of 193e3446e3 from main.
2025-03-06 13:32:39 +01:00
Sarah Boyce
3cfa472644
[5.2.x] Fixed CVE-2025-26699 -- Mitigated potential DoS in wordwrap template filter.
...
Thanks sw0rd1ight for the report.
Backport of 55d89e25f4 from main.
2025-03-06 09:42:27 +01:00
hesham942
d42b187022
[5.2.x] Fixed typo in docs/ref/checks.txt.
...
Backport of 8f942f1c1d from main.
2025-03-05 16:22:01 +01:00
hesham942
b280175b5a
[5.2.x] Fixed #36227 -- Fixed outdated PostgreSQL documentation links.
...
Backport of 3ecaa85a24 from main.
2025-03-05 15:17:19 +01:00
Clifford Gama
4406ce15ff
[5.2.x] Fixed #36128 -- Clarified auto-generated unique constraint on m2m through models.
...
Backport of ae2736ca3b from main.
2025-03-04 13:07:08 +01:00
antoliny0919
5997fdc921
[5.2.x] Fixed #36217 -- Restored pre_save/post_save signal emission via LogEntry.save() for single-object deletion in the admin.
...
Regression in 40b3975e7d .
Thanks smiling-watermelon for the report.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com >
Backport of c09bceef68 from main.
2025-03-04 10:36:37 +01:00
Tim Graham
0e3a6c5fec
[5.2.x] Added some heading labels to to docs/topics/cache.txt.
...
Backport of 6d1cf5375f from main
2025-03-02 19:55:40 +01:00
Sarah Boyce
b8ceda4a51
[5.2.x] Added stub release notes and release date for 5.1.7, 5.0.13, and 4.2.20.
...
Backport of ea1e3703be from main.
2025-02-27 16:06:17 +01:00
Sarah Boyce
d637e251b4
[5.2.x] Added security guideline on reasonable size limitations when rendering content via the DTL.
...
This also removes the need to add warnings for every Django template filter.
Backport of 582ba18d56 from main.
2025-02-24 08:54:44 +01:00
Sarah Boyce
865337ae92
[5.2.x] Added security reporting guidelines.
...
Backport of 5935336059 from main.
2025-02-24 08:54:18 +01:00
Sarah Boyce
a39d0ff88f
[5.2.x] Updated expectations for when security reports will receive a reply.
...
Backport of cecb76a942 from main.
2025-02-24 08:53:56 +01:00
Joonas Häkkinen
aadc5c569b
[5.2.x] Fixed #36200 -- Clarified MIDDLEWARE setting updates when using a custom RemoteUserMiddleware.
...
Backport of 87c5de3b7f from main.
2025-02-20 16:14:22 +01:00
Adam Zapletal
baea0f644e
[5.2.x] Clarified admonition in GeneratedField docs.
...
Backport of 43766c70bd from main.
2025-02-20 14:42:08 +01:00
Sarah Boyce
463e87e249
[5.2.x] Fixed #35908 -- Retired the django-developers and django-users mailing lists.
...
Co-authored-by: Chaitanya Rahalkar <chaitanyarahalkar@squareup.com >
Backport of 86493307f9 from main.
2025-02-19 12:16:20 +01:00
Sarah Boyce
3d9694d942
[5.2.x] Updated man page for Django 5.2 beta.
2025-02-19 11:43:27 +01:00
Mariusz Felisiak
79b1658494
[5.2.x] Fixed docs build on Sphinx 8.2+.
...
Backport of 2684a383bc from main.
2025-02-19 09:46:18 +01:00
Sarah Boyce
bb4f65ec87
[5.2.x] Removed advice to propose a new contrib app.
...
Backport of 9d22a7d8f0 from main.
2025-02-18 16:11:08 +01:00
Simon Charette
6b8a6e1251
[5.2.x] Fixed #36197 -- Fixed improper many-to-many count() and exists() for non-pk to_field.
...
Regression in 66e47ac69a .
Thanks mfontana-elem for the report and Sarah for the tests.
Backport of c3a23aa02f from main.
2025-02-18 11:44:46 +01:00
Gaël Utard
ae391ca368
[5.2.x] Fixed #36191 -- Truncated the overwritten file content in FileSystemStorage.
...
Backport of 0d1dd6bba0 from main.
2025-02-17 14:03:36 +01:00
Simon Charette
c55a808198
[5.2.x] Refs #35967 -- Doc'd DatabaseCreation.serialize_db_to_string() method.
...
Backport of 99ac8e2589 from main
2025-02-16 13:43:45 +01:00
Luke Cousins
9cd975c7fa
[5.2.x] Corrected wording in docs/ref/models/constraints.txt.
...
Backport of 579a1c9996 from main.
2025-02-14 15:20:26 +01:00
9ad5d0ac3b
[5.2.x] Fixed typo in docs/ref/databases.txt.
...
Backport of d87bb0eb3e from main.
2025-02-14 15:16:48 +01:00
Natalia
6f934989df
[5.2.x] Fixed #36158 -- Refactored shell command to improve auto-imported objects reporting.
...
Backport of 56e23b2319 from main.
2025-02-13 16:03:09 +01:00
Sarah Boyce
92d5b2f389
[5.2.x] Fixed #36182 -- Returned "?" if all parameters are removed in querystring template tag.
...
Thank you to David Feeley for the report and Natalia Bidart for the review.
Backport of 05002c153c from main.
2025-02-13 15:50:53 +01:00
Mariusz Felisiak
d3d9f3a5a4
[5.2.x] Reverted "Refs #35803 -- Added support for __coveredby GIS lookup on MariaDB 11.7+."
...
This partly reverts commit 0b7edb9fcd .
MariaDB reverted GIS functions.
Backport of 54a902c6e8 from main.
2025-02-13 10:40:53 +01:00
Mariusz Felisiak
fc19618171
[5.2.x] Reverted "Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+."
...
This reverts commit c77573716a .
MariaDB reverted GIS functions.
Backport of eb70aafdba from main.
2025-02-13 10:40:07 +01:00
Natalia
0125bc15d4
[5.2.x] Refs #35515 -- Added missing docs for --no-imports flag for the shell command.
...
Backport of 3839afb63a from main.
2025-02-10 22:59:27 -03:00
Natalia
12517e667b
[5.2.x] Wrapped lines at 79 cols in docs/howto/custom-shell.txt.
...
Backport of ca0794fa32 from main.
2025-02-10 22:59:17 -03:00
Mariusz Felisiak
efef715525
[5.2.x] Specified "django" repository for twine call in docs/internals/howto-release-django.txt.
...
It's necessary to specify a repository for `.pypirc` user configurations
with multiple per-project PyPI tokens.
Follow up to 26aedbbc08 .
Backport of 0dc61495b2 from main.
2025-02-10 22:54:26 -03:00
Natalia
2b11b8e989
[5.2.x] Added stub release notes for 5.1.7.
...
Backport of e2a8f4dac8 from main.
2025-02-05 11:22:24 -03:00
Natalia
f075694a62
[5.2.x] Added release date for 5.1.6, 5.0.12, and 4.2.19.
...
Backport of 294cc965ef from main.
2025-02-05 10:39:42 -03:00
amirreza sohrabi far
2cbf32ed36
[5.2.x] Clarified docs for default email value in UserManager.create_user().
...
Backport of 5da3ad7bf9 from main.
2025-02-04 16:36:13 -03:00
nessita
d6a44efa49
[5.2.x] Refs #35612 -- Extended docs on how the security team evaluates reports.
...
Co-authored-by: Shai Berger <shai@platonix.com >
Backport of f609a2da86 from main.
2025-02-04 08:55:11 -03:00
nessita
affad13d0c
[5.2.x] Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.
...
Regression in e626716c28 .
Thanks buffgecko12 for the report and Sarah Boyce for the review.
Backport of d15454a6e8 from main.
2025-02-01 22:50:26 -03:00
Mike Edmunds
e939cffa50
[5.2.x] Fixed #36162 -- Fixed the black Makefile docs rule to work on macOS.
...
The `make black` target in the docs directory used Linux-specific
syntax for its `find` command. Changed to syntax that also works
on macOS and other BSD Unix variants.
Backport of 248d8457cb from main.
2025-02-01 22:28:35 -03:00
nessita
b406907af5
[5.2.x] Tweaked docs to avoid reformatting given new black version.
...
Backport of fd3cfd80be from main.
2025-01-30 10:38:44 -03:00