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
Natalia
a750fd0d7f
[4.2.x] Added stub release notes for 4.2.5.
...
Backport of 24068058a6
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.
2023-08-01 13:59:48 -03:00
Natalia
e53d6239df
[4.2.x] Added release date for 4.2.4.
...
Backport of c8d7a5491e
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 59bea9efd2
.
Backport of c9b9a52edc
from main
2023-08-01 16:17:06 +02:00
Almaz Kunpeissov
2ef2b2ffc0
[4.2.x] Corrected pycon formatting in some docs.
...
Backport of 5a3725594f
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 22b0b73c77
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 dd68af62b2
.
Thanks Toan Vuong for the report.
Backport of 4087367ba8
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 af0c5caff7
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 86561844ce
from main
2023-07-24 21:07:41 +02:00
Mariusz Felisiak
1f9d00ef9f
[4.2.x] Added missing backticks in docs.
...
Backport of 02376f1f53
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 addbc90049
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 b126f69416
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 59bea9efd2
.
Refs #28477 .
Thanks younes-chaoui for the report.
Backport of 68912e4f6f
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 2ddfa3e2b6
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 adfb3dfa89
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 393b8324b3
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 1d6fbf16f2
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.
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 6fbe5287ac
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 6799288342
from main
2023-06-27 15:14:13 -03:00
Mariusz Felisiak
67fe092a85
[4.2.x] Fixed typo in docs/ref/models/querysets.txt.
...
Backport of c4a09499aa
from main
2023-06-27 12:54:46 +02:00
Mariusz Felisiak
9ab56e64de
[4.2.x] Added stub release notes and release date for 4.2.3, 4.1.10, and 3.2.20.
...
Backport of 2360ba2274
from main
2023-06-26 14:36:06 +02:00
Mariusz Felisiak
a18e0f44d5
[4.2.x] Corrected admin.E013 check message in docs.
...
Backport of ddb6506618
from main
2023-06-20 12:59:48 +02:00
Ashwin Dharne
fabd0510a0
[4.2.x] Fixed typo in docs/topics/db/fixtures.txt.
...
Backport of 5762b839ff
from main
2023-06-16 19:34:32 +02:00
Mariusz Felisiak
4b433ef236
[4.2.x] Refs #30220 -- Bumped required version of Selenium to 3.8.0.
...
Follow up to 8d010f3986
.
Backport of 06881341d4
from main
2023-06-13 10:13:15 +02:00
Neeraj Kumar
9e9a286bed
[4.2.x] Fixed #34638 -- Fixed admin change list selected row highlight on editable boolean fields.
...
Regression in 0aa2f16e63
.
Thanks Andrei Shabanski for the report.
Backport of 1d9d32389c
from main.
2023-06-11 19:28:50 +02:00
Mariusz Felisiak
31d1fc36b3
[4.2.x] Fixed #34645 -- Restored alignment for admin date/time timezone warnings.
...
Regression in 96a598356a
.
Backport of caf80cb41f
from main
2023-06-09 21:37:50 +02:00
Akash Kumar Sen
eb84c068ed
[4.2.x] Fixed #30355 -- Doc'd interaction between custom managers and prefetch_related().
...
Backport of 5f2308710b
from main
2023-06-07 19:32:18 +02:00
nessita
b2355a8df3
[4.2.x] Added stub release notes for 4.2.3.
...
Backport of e26d1a91d7
from main
2023-06-05 14:59:06 -03:00
Natalia
10de214055
[4.2.x] Post-release version bump.
2023-06-05 13:21:43 -03:00
Natalia
6218ed3454
[4.2.x] Bumped version for 4.2.2 release.
2023-06-05 08:31:58 -03:00
Natalia
e84d38ab36
[4.2.x] Added release date for 4.2.2.
...
Backport of 0faad01938
from main
2023-06-05 08:26:28 -03:00
Mariusz Felisiak
87a4cd559b
[4.2.x] Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys when base querysets use select_related().
...
Regression in 19e0587ee5
.
Thanks Martin Svoboda for the report.
Backport of f9936deed1
from main
2023-06-04 20:49:40 +02:00
Mariusz Felisiak
66d9fa4371
[4.2.x] Refs #23528 -- Made cosmetic edits to swappable_dependency() docs.
...
Backport of 1136aa5005
from main
2023-06-03 12:02:08 +02:00
DevilsAutumn
92ad551afd
[4.2.x] Fixed #23528 -- Doc'd django.db.migrations.swappable_dependency().
...
Backport of 7d96ce68ae
from main
2023-06-02 21:47:33 +02:00
Simon Charette
738386470d
[4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
...
Regression in b3db6c8dcb
.
Thanks Ian Cubitt for the report.
This also corrected test_inheritance_deferred2() test which was
previously properly defined and marked as an expected failure but was
then wrongly adjusted to mask the lack of support for per-alias
deferral that was fixed by #21204 .
Backport of 2cf76f2d5d
from main
2023-06-01 20:27:06 +01:00
AP Jama
dae052d823
[4.2.x] Fixed #34595 -- Doc'd that format_string arg of format_html() is not escaped.
...
Backport of 4037223d0f
from main
2023-06-01 13:10:45 +01:00
Akash Kumar Sen
dca5f5d58a
[4.2.x] Fixed #34600 -- Removed references to bleach in docs.
...
Backport of b0a6cc7f57
from main
2023-05-31 10:23:37 +01:00
Natalia
25bd9faf32
[4.2.x] Fixed #34574 -- Noted unexpected outcomes in autoescape/escape docs.
...
Backport of 1a59a324ce
from main.
2023-05-26 07:50:19 +02:00
David Sanders
91f8df5c2e
[4.2.x] Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField values to decimal."
...
This reverts 7990d254b0
.
Thanks Marc Odermatt for the report.
Backport of 0c1518ee42
from main
2023-05-24 11:00:21 +02:00
Stefan Brand
a44e974412
[4.2.x] Corrected documentation of Log database function.
...
Backport of eb9df03a43
from main
2023-05-24 05:30:43 +02:00