Mariusz Felisiak
dd0bf63d3e
[4.2.x] Added warning about flatpages and untrusted users.
...
Backport of 571bab98879578b6ef54ee654ead06736855767d from main
2023-09-27 19:10:59 +02:00
Mariusz Felisiak
fec4ed0a25
[4.2.x] Refs #34320 -- Skipped SchemaTests.test_rename_field_with_check_to_truncated_name on MariaBD 10.5.2+.
...
This crashes since MariaDB was bumped to 10.5 on Jenkins.
2023-09-27 15:51:52 +02:00
Mariusz Felisiak
a148461f1f
[4.2.x] Fixed #34840 -- Avoided casting string base fields on PostgreSQL.
...
Thanks Alex Vandiver for the report.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 779cd28acb1f7eb06f629c0ea4ded99b5ebb670a from main.
2023-09-22 06:07:19 +02:00
David Sanders
b08f53ff46
[4.2.x] Refs #34808 -- Doc'd that aggregation functions on empty groups can return None.
...
Backport of 78b5c9075348aa12da2e024f6ece29d1d652dfdd from main
2023-09-21 13:18:15 -03:00
Mariusz Felisiak
c70f08c4aa
[4.2.x] Added updating the Django release process on Trac to release steps.
...
Backport of 7c1cf585e80114b6e531b40bd2954406d033afe3 from main
2023-09-19 09:29:25 -03:00
therealrinku
d485aa2732
[4.2.x] Fixed typo in docs/howto/custom-file-storage.txt.
...
Backport of aebedb7bd1bd9774823d15cc1041dcdce6fb172a from main
2023-09-16 07:40:17 +02:00
Mariusz Felisiak
ff26e6ad84
[4.2.x] Corrected QuerySet.prefetch_related() note about GenericRelation().
...
GenericRelation is a reverse generic relationship so it's always
homogeneous. Mentioning this as a restriction is confusing.
Backport of 88b5b7b8e56667b0f55ea6f04038b6ac77c57b98 from main
2023-09-16 06:58:08 +02:00
Michele Mazzucchi
866122690d
[4.2.x] Doc'd HttpResponse.cookies.
...
Backport of 5bfb3cbf49e2b9701e7c42989e14a72374adb6bd from main
2023-09-14 12:29:49 +02:00
Mariusz Felisiak
97e8a2afb1
[4.2.x] Fixed #34821 -- Prevented DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings from mutating the main STORAGES.
...
Regression in 6b965c600054f970bdf94017ecf2e0e6e0a4326b.
Backport of a7c73b944f51d6c92ec876fd7e0a171e7c01657d from main
2023-09-11 13:04:55 +02:00
Mariusz Felisiak
39cb3b08bc
[4.2.x] Bumped checkout version in Github actions configuration.
...
Backport of 4f0c0e6fa1ce2e4da9407f122d0c1c27c7f8ad83 from main.
2023-09-05 10:54:21 +02:00
Mariusz Felisiak
592ebd8920
[4.2.x] Added stub release notes for 4.2.6.
...
Backport of a534835c7b4cf1556638edd39acde7b2b88c8892 from main
2023-09-04 13:25:56 +02:00
Mariusz Felisiak
a1dd785139
[4.2.x] Added CVE-2023-41164 to security archive.
...
Backport of 8a98768868a104ea3ce10d8182590bdd095d9ccb from main
2023-09-04 13:17:59 +02:00
Mariusz Felisiak
a9686cb871
[4.2.x] Post-release version bump.
2023-09-04 12:11:45 +02:00
Mariusz Felisiak
b8b2f74512
[4.2.x] Bumped version for 4.2.5 release.
4.2.5
2023-09-04 12:06:48 +02:00
Mariusz Felisiak
9c51b4dcfa
[4.2.x] Fixed CVE-2023-41164 -- Fixed potential DoS in django.utils.encoding.uri_to_iri().
...
Thanks MProgrammer (https://hackerone.com/mprogrammer ) for the report.
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-09-04 12:05:35 +02:00
willzhao
acfb427522
[4.2.x] Fixed #34803 -- Fixed queryset crash when filtering againts deeply nested OuterRef annotations.
...
Thanks Pierre-Nicolas Rigal for the report.
Regression in c67ea79aa981ae82595d89f8018a41fcd842e7c9.
Backport of 9cc0d7f7f85cecc3ad15bbc471fe6a08e4f515b6 from main
2023-09-01 11:25:00 +02:00
Mariusz Felisiak
55a0b9c32e
[4.2.x] Added stub release notes and release date for 4.2.5, 4.1.11, and 3.2.21.
...
Backport of 24f1a38b37c0af3a5ce0dd7b5392fe4e75d7e1dc from main
2023-08-28 06:14:50 +02:00
Mariusz Felisiak
8e8c318449
[4.2.x] Avoided counting exceptions in AsyncClient docs.
...
Follow up to ad6bb20557f5c87de26aeb3afb061af942a8cc17.
Backport of 9942a3e49b801b59e10329d86cd8bf12f1716529 from main
2023-08-24 05:21:00 +02:00
Luca Allulli
dcb9d7a0e4
[4.2.x] Improved formset docs by using a set instead of a list in the custom validation example.
...
Backport of c59be9f1da7e1fc58df49d5eda4e80cd50ce5710 from main
2023-08-23 22:26:05 -03:00
Keryn Knight
f55b420277
[4.2.x] Fixed #34781 -- Updated logging ref docs for django.server's request extra context value.
...
Backport of 428023e2677aeb80d86b19f90b0c6b82c7cb666d from main
2023-08-22 22:44:46 -03:00
Juan Alvarez
46b2b08e45
[4.2.x] Fixed #34779 -- Avoided unnecessary selection of non-nullable m2m fields without natural keys during serialization.
...
By using `select_related(None)` instead of `select_related()`, the
unnecessary joins are completely avoided. Note that the current tests
already covers the change, when the field is not `null=True`.
Regression in f9936deed1ff13b20e18bd9ca2b0750b52706b6c.
Backport of 517d3bb4dd17e9c51690c98d747b86a0ed8b2fbf from main
2023-08-19 11:23:59 +02:00
Mariusz Felisiak
d34db6602e
[4.2.x] Fixed #34773 -- Fixed syncing DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings with STORAGES.
...
Thanks Petr Dlouhý for the report.
Bug in 32940d390a00a30a6409282d314d617667892841.
Backport of 6b965c600054f970bdf94017ecf2e0e6e0a4326b from main
2023-08-18 18:12:30 +02:00
anthony kugel
a22aeef555
[4.2.x] Fixed #15799 -- Doc'd that Storage._open() should raise FileNotFoundError when file doesn't exist.
...
Backport of 8edaf07a28a3e3848ab1edbdcd2fdc25e6bd6015 from main
2023-08-04 18:08:46 +02:00
Mariusz Felisiak
936afc2deb
[4.2.x] Refs #34754 -- Added missing FullResultSet import.
...
Follow up to 3a1863319c1ed4bc81fe270b0d7d25c7f03fdb48.
2023-08-04 15:39:49 +02:00
Simon Charette
3a1863319c
[4.2.x] Fixed #34754 -- Fixed JSONField check constraints validation on NULL values.
...
The __isnull lookup of JSONField must special case
Value(None, JSONField()) left-hand-side in order to be coherent with
its convoluted null handling.
Since psycopg>=3 offers no way to pass a NULL::jsonb the issue is
resolved by optimizing IsNull(Value(None), True | False) to
True | False.
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
Thanks Alexandre Collet for the report.
Backport of 3434dbd39d373df7193ad006b970c09c1a909ea3 from main
2023-08-04 10:58:53 +02:00
David Smith
951dcbb2e6
[4.2.x] Fixed #34756 -- Fixed docs HTML build on Sphinx 7.1+.
...
Backport of b3e0170ab546a96930ce3114b0a1a560953c0ff4 from main
2023-08-03 09:32:03 +02:00
Natalia
a750fd0d7f
[4.2.x] Added stub release notes for 4.2.5.
...
Backport of 24068058a63c506c300629fcc491601abc968926 from main
2023-08-01 14:56:34 -03:00
Natalia
a56c46642d
[4.2.x] Post-release version bump.
2023-08-01 14:36:22 -03:00
Natalia
6f4c7c124a
[4.2.x] Bumped version for 4.2.4 release.
4.2.4
2023-08-01 13:59:48 -03:00
Natalia
e53d6239df
[4.2.x] Added release date for 4.2.4.
...
Backport of c8d7a5491e002c7e5ae9b8453b3263ecf43dde33 from main
2023-08-01 13:47:01 -03:00
Mariusz Felisiak
8808d9da6b
[4.2.x] Fixed #34750 -- Fixed QuerySet.count() when grouping by unused multi-valued annotations.
...
Thanks Toan Vuong for the report.
Thanks Simon Charette for the review.
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.
Backport of c9b9a52edc66be117c6e5b5214fa788a4d5db7a8 from main
2023-08-01 16:17:06 +02:00
Almaz Kunpeissov
2ef2b2ffc0
[4.2.x] Corrected pycon formatting in some docs.
...
Backport of 5a3725594faacc412e2d2b4ed160370228f1a118 from main
2023-08-01 08:47:40 +02:00
Mariusz Felisiak
8db9a0b5a0
[4.2.x] Fixed warnings per flake8 6.1.0.
...
Backport of 22b0b73c7732ba67db4e69fd9fa75aad84c8e5c4 from main
2023-07-30 16:18:48 +02:00
Simon Charette
739da73164
[4.2.x] Fixed #34748 -- Fixed queryset crash when grouping by a reference in a subquery.
...
Regression in dd68af62b2b27ece50d434f6a351877212e15c3f.
Thanks Toan Vuong for the report.
Backport of 4087367ba869be9cf305dac39a8887d4aa4041d2 from main
2023-07-30 07:51:52 +02:00
John Parton
a52a2b6678
[4.2.x] Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.
...
Backport of af0c5caff72e5ffda4dff708a57e37ae4778197d from main
2023-07-28 18:06:04 +02:00
Bruno Alla
12ebd9a1ac
[4.2.x] Refs #34712 -- Doc'd that defining STORAGES overrides the default configuration.
...
Backport of 86561844ce66cda3e6a8c22d4ace4c2d1bc1f2e7 from main
2023-07-24 21:07:41 +02:00
Mariusz Felisiak
1f9d00ef9f
[4.2.x] Added missing backticks in docs.
...
Backport of 02376f1f53db24039c200ef4818d96accf16a88b from main
2023-07-21 12:55:10 +02:00
nessita
c99d935600
[4.2.x] Fixed typo in docs/ref/models/querysets.txt.
...
Removed assignment in example for Blog annotation to match shown result.
Backport of addbc90049083f1d5f7ac138ed00111b71a75233 from main
2023-07-20 19:49:01 +02:00
Vyacheslav Dmitriev
da92a971a0
[4.2.x] Refs #30052 -- Clarified that defer() and only() do not work with aggregated fields.
...
Backport of b126f694160c4641e64e57dba6b022f06fbfa745 from main
2023-07-20 14:07:16 -03:00
Simon Charette
7a67b065d7
[4.2.x] Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window functions.
...
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.
Refs #28477 .
Thanks younes-chaoui for the report.
Backport of 68912e4f6f84f21322f92a2c7b6c77f68f91b9c9 from main
2023-07-19 09:06:16 +02:00
David Sanders
c646412a75
Added reference to TypedChoiceField in ChoiceField docs.
2023-07-18 12:06:59 -03:00
Marcelo Galigniana
f474ba4cb5
[4.2.x] Fixed #34309 -- Doc'd how to fully delete an app.
...
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
Co-authored-by: shangxiao <shang.xiao.sanders@gmail.com>
Co-authored-by: sarahboyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: felixxm <felisiak.mariusz@gmail.com>
Backport of 2ddfa3e2b63d7a77270711dbe63aafb86abf4ddd from main
2023-07-11 11:45:37 +02:00
Jon Ribbens
e54f711d42
[4.2.x] Fixed #33405 , Refs #7177 -- Clarified docs for filter escapejs regarding safe and unsafe usages.
...
Backport of adfb3dfa89b62ee0c838a64d3d480c03dd3ec869 from main
2023-07-03 13:55:31 +02:00
Mariusz Felisiak
047844270b
[4.2.x] Added stub release notes for 4.2.4.
...
Backport of 393b8324b390aef428016f93b3cb30228d38dc87 from main
2023-07-03 10:38:20 +02:00
Mariusz Felisiak
9549819d37
[4.2.x] Added CVE-2023-36053 to security archive.
...
Backport of 1d6fbf16f24200a556beb6dd197439944deb6837 from main
2023-07-03 10:26:42 +02:00
Mariusz Felisiak
82fbaa7954
[4.2.x] Post-release version bump.
2023-07-03 08:25:52 +02:00
Mariusz Felisiak
1651351386
[4.2.x] Bumped version for 4.2.3 release.
4.2.3
2023-07-03 08:21:07 +02:00
Mariusz Felisiak
b7c5feb35a
[4.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator.
...
Thanks Seokchan Yoon for reports.
2023-07-03 08:19:23 +02:00
Cerebro Cerberus
1ea11365f6
[4.2.x] Fixed typo in docs/intro/tutorial08.txt.
...
Backport of 6fbe5287ac46f38faa9634e02da7e7b01e37c34d from main
2023-06-28 07:10:04 +02:00
nessita
7b45fe01ab
[4.2.x] Added dedicated section for output_field in query expressions docs.
...
Backport of 679928834295ebd874ede667dbaae8a7945d3580 from main
2023-06-27 15:14:13 -03:00