1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #35159 -- Fixed dumpdata crash when base querysets use prefetch_related().

Regression in 1391356276
following deprecation in edbf930287.

Thanks Andrea F for the report.
This commit is contained in:
Mariusz Felisiak
2024-01-31 16:10:05 +01:00
committed by GitHub
parent d3922e9e5a
commit 38eaf2f21a
4 changed files with 30 additions and 1 deletions

View File

@@ -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`).