summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2023-05-31 18:04:17 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-06-01 19:50:47 +0100
commit2cf76f2d5d1aa16acfadaf53db3d30128a34b088 (patch)
treed52375c65c679cb43eadeca9b917ec31a45fa630 /docs/releases
parentd9e701879612312391c0dca5c158b79a1dabcf18 (diff)
Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879. 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.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/4.2.2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/4.2.2.txt b/docs/releases/4.2.2.txt
index fef5d8d364..1bada4073b 100644
--- a/docs/releases/4.2.2.txt
+++ b/docs/releases/4.2.2.txt
@@ -20,6 +20,9 @@ Bugfixes
when passing a ``ManyToManyField`` or ``GenericForeignKey`` reference. While
doing so is a no-op, it was allowed in older version (:ticket:`34570`).
+* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.only()``
+ when passing a reverse ``OneToOneField`` reference (:ticket:`34612`).
+
* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't
respect the ``--name`` option (:ticket:`34568`).