diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-10-18 23:01:56 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-19 13:10:13 +0200 |
| commit | 2212927c1b898998a1e492ba1b6db2d9627aaa17 (patch) | |
| tree | 2c8ababc3bd08ec9f14e82a6d50bc1518c09da91 /docs | |
| parent | 18ffdf5c877dab51dd2eac90b9065d7a3e92133b (diff) | |
[3.1.x] Fixed #32107 -- Fixed ProtectedError.protected_objects and RestrictedError.restricted_objects.
Regression in 4ca5c565f4dc9e97845036e86416abc5cfde766c and
ab3cbd8b9a315911248227208630a020cedca08f.
Thanks Vitaliy Yelnik for the report.
Backport of 3b1746d5194778fab15c15dd14c212e0912ec8f3 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.1.3.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/3.1.3.txt b/docs/releases/3.1.3.txt index 8c7b533b48..7c3c2cf2b0 100644 --- a/docs/releases/3.1.3.txt +++ b/docs/releases/3.1.3.txt @@ -39,3 +39,9 @@ Bugfixes :class:`~django.contrib.postgres.constraints.ExclusionConstraint` with key transforms for :class:`~django.db.models.JSONField` in ``expressions`` (:ticket:`32096`). + +* Fixed a regression in Django 3.1 where + :exc:`ProtectedError.protected_objects <django.db.models.ProtectedError>` and + :exc:`RestrictedError.restricted_objects <django.db.models.RestrictedError>` + attributes returned iterators instead of :py:class:`set` of objects + (:ticket:`32107`). |
