mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #32107 -- Fixed ProtectedError.protected_objects and RestrictedError.restricted_objects.
Regression in4ca5c565f4
andab3cbd8b9a
. Thanks Vitaliy Yelnik for the report.
This commit is contained in:
parent
0eee5c1b9c
commit
3b1746d519
3 changed files with 31 additions and 14 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue