diff options
| author | Nicolas Delaby <nicolas.delaby@infarm.com> | 2024-01-23 11:51:24 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-29 20:29:49 +0100 |
| commit | 820c5f1bacd41713bd30d8b5fefb66752ff15c4c (patch) | |
| tree | d5182900a739e598b967523537902ddca7035654 /docs | |
| parent | a5365339eaee043895a79dbbdd7462f1399136e5 (diff) | |
Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.2.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/5.0.2.txt b/docs/releases/5.0.2.txt index c795049c73..8e2d648ecc 100644 --- a/docs/releases/5.0.2.txt +++ b/docs/releases/5.0.2.txt @@ -19,3 +19,8 @@ Bugfixes * Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on models with a ``GeneratedField`` (:ticket:`35127`). + +* Fixed a regression in Django 5.0 that caused a crash of + ``FilteredRelation()`` with querysets as right-hand sides (:ticket:`35135`). + ``FilteredRelation()`` now raises a ``ValueError`` on querysets as right-hand + sides. |
