diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-31 16:10:05 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-31 16:10:50 +0100 |
| commit | 7453d6a80792e3f811fc662b8b25fdcbc5ea7eb3 (patch) | |
| tree | af200ac40bea58431ea91c2efd6698e21ae70ddd /docs | |
| parent | 2822cafa3c38c8352eacb82aad27cc29338d8ad7 (diff) | |
[5.0.x] Fixed #35159 -- Fixed dumpdata crash when base querysets use prefetch_related().
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51
following deprecation in edbf930287cb72e9afab1f7208c24b1146b0c4ec.
Thanks Andrea F for the report.
Backport of 38eaf2f21a2398a8dd8444f6df3723898cb5fe2a from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.2.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.2.txt b/docs/releases/5.0.2.txt index 8e2d648ecc..83f1af7b4f 100644 --- a/docs/releases/5.0.2.txt +++ b/docs/releases/5.0.2.txt @@ -24,3 +24,7 @@ Bugfixes ``FilteredRelation()`` with querysets as right-hand sides (:ticket:`35135`). ``FilteredRelation()`` now raises a ``ValueError`` on querysets as right-hand sides. + +* Fixed a regression in Django 5.0 that caused a crash of the ``dumpdata`` + management command when a base queryset used ``prefetch_related()`` + (:ticket:`35159`). |
