lufafajoshua
696fbc32d6
[4.2.x] Fixed #30601 -- Doc'd the need to manually revert all app state on transaction rollbacks.
...
Backport of aa80b357fb
from main
2023-10-27 23:33:45 -03:00
Izzy Hyman
ffba63180c
[4.2.x] Fixed typo in docs/ref/contrib/gis/geos.txt.
...
Backport of c42250a703
from main
2023-10-27 05:32:47 +02:00
Leo Suarez
43a3646070
[4.2.x] Fixed #15578 -- Stated the processing order of fixtures in the fixtures docs.
...
Also, added details about loading multiple fixtures and unified line wrapping
at 79 cols.
Co-Authored-By: Aniketh Babu <anikethbabu@gmail.com>
Co-Authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Natalia Bidart <124304+nessita@users.noreply.github.com>
Backport of 334dc073b1
from main
2023-10-26 21:52:24 -03:00
Mariusz Felisiak
0cd8b867a0
[4.2.x] Added stub release notes and release date for 4.2.7, 4.1.13, and 3.2.23.
...
Backport of fdd1323b9c
from main
2023-10-25 05:43:24 +02:00
Claire Pritchard
510a512119
[4.2.x] Fixed typo in docs/releases/4.2.txt.
...
Backport of 61cc0e6f2c
from main
2023-10-22 11:03:08 +02:00
David Smith
b644f8bc1f
[4.2.x] Corrected note about using accents in writing documentation contributing guide.
...
Backport of 1611577102
from main
2023-10-21 09:40:21 +02:00
Mariusz Felisiak
a576ef98ae
[4.2.x] Refs #34900 , Refs #34118 -- Updated assertion in test_skip_class_unless_db_feature() test on Python 3.12.1+.
...
Python 3.12.1+ no longer includes skipped tests in the number of
running tests. Check out:
https://github.com/python/cpython/issues/110890#issuecomment-1763458686
https://github.com/python/cpython/pull/106588
Backport of 20b7aac7ca
from main
2023-10-16 06:28:46 +02:00
Simon Charette
803caec60b
[4.2.x] Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions containing subqueries.
...
Regression in 59bea9efd2
,
complements e5c844d6f2
.
Refs #28477 , #34551 .
Thanks Haldun Komsuoglu for the report.
Backport of 3b4a571275
from main
2023-10-16 06:15:36 +02:00
Adam Johnson
caec4f4a6f
[4.2.x] Refs #34840 -- Improved release note describing index regression.
...
Backport of 73b2c63127
from main
2023-10-15 10:28:07 +02:00
Mariusz Felisiak
b6bb2f8099
[4.2.x] Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints.
...
Thanks Tim Graham for the report.
Backport of 9fd3a0ffc8
from main
2023-10-12 20:02:26 +02:00
lufafajoshua
e8fe48d3a0
[4.2.x] Fixed #34808 -- Doc'd aggregate function's default argument.
...
Backport of 8adc7c86ab
from main
2023-10-11 16:11:09 -03:00
Natalia
830990fa6c
[4.2.x] Reorganized tutorial's part 4 to better understand changes needed in URLConf.
...
Backport of d21ab70223
from main
2023-10-10 14:07:10 -03:00
Carlton Gibson
0cbc92bc3a
[4.2.x] Refs #26029 -- Improved get_storage_class() deprecation warning with stacklevel=2.
...
Addition of the `stacklevel` argument shows the source of the
deprecated call, making updating the client code simpler.
Backport of fa6e6f3113
from stable/5.0.x.
2023-10-10 10:29:18 +02:00
sarahboyce
9c7627da30
[4.2.x] Refs #34043 -- Clarified how to test UI changes.
...
Backport of e083f3082c
from main
2023-10-09 11:51:50 +02:00
Mariusz Felisiak
0bd53ab86a
[4.2.x] Added backticks to setuptools in docs.
...
Backport of 54b23b1835
from main
2023-10-09 09:57:35 +02:00
ume
99dcba90b4
[4.2.x] Refs #32275 -- Added scrypt password hasher to PASSWORD_HASHERS setting docs.
...
Backport of 90c75dc4f3
from main
2023-10-06 09:56:11 +02:00
David Sanders
6697880219
[4.2.x] Refs #31435 -- Doc'd potential infinite recursion when accessing model fields in __init__.
...
Backport of e47298aec4
from main
2023-10-05 14:34:07 -03:00
Mariusz Felisiak
a9a3317a95
[4.2.x] Corrected wrap_socket() reference in docs/ref/settings.txt.
...
Backport of f9cdecfb0d
from main
2023-10-04 19:54:32 +02:00
Natalia
9962f94a97
[4.2.x] Added CVE-2023-43665 to security archive.
...
Backport of 4e790271e3
from main
2023-10-04 13:09:25 -03:00
Natalia
b2d95bb301
[4.2.x] Added stub release notes for 4.2.7.
...
Backport of 034457941a
from main
2023-10-04 13:09:11 -03:00
Natalia
08d54f83a9
[4.2.x] Post release version bump.
2023-10-04 10:03:14 -03:00
Natalia
c22017bd1d
[4.2.x] Bumped version for 4.2.6 release.
2023-10-04 09:51:04 -03:00
Natalia
be9c27c4d1
[4.2.x] Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text.Truncator when truncating HTML text.
...
Thanks Wenchao Li of Alibaba Group for the report.
2023-10-04 09:39:49 -03:00
Natalia
39fc3f46a8
[4.2.x] Added stub release notes and release date for 4.2.6, 4.1.12, and 3.2.22.
...
Backport of 5e4b75b78a
from main
2023-09-27 14:27:44 -03:00
Mariusz Felisiak
dd0bf63d3e
[4.2.x] Added warning about flatpages and untrusted users.
...
Backport of 571bab9887
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 09ffc5c121
.
Backport of 779cd28acb
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 78b5c90753
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 7c1cf585e8
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 aebedb7bd1
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 88b5b7b8e5
from main
2023-09-16 06:58:08 +02:00
Michele Mazzucchi
866122690d
[4.2.x] Doc'd HttpResponse.cookies.
...
Backport of 5bfb3cbf49
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 6b965c6000
.
Backport of a7c73b944f
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 4f0c0e6fa1
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 a534835c7b
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 8a98768868
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.
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 c67ea79aa9
.
Backport of 9cc0d7f7f8
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 24f1a38b37
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 ad6bb20557
.
Backport of 9942a3e49b
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 c59be9f1da
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 428023e267
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 f9936deed1
.
Backport of 517d3bb4dd
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 32940d390a
.
Backport of 6b965c6000
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 8edaf07a28
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 3a1863319c
.
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 5c23d9f0c3
.
Thanks Alexandre Collet for the report.
Backport of 3434dbd39d
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 b3e0170ab5
from main
2023-08-03 09:32:03 +02:00