mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.11.x] Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults.
Backport of 37ab3c3f9d from master
This commit is contained in:
@@ -32,3 +32,7 @@ Bugfixes
|
||||
|
||||
* Allowed ``DjangoJSONEncoder`` to serialize
|
||||
``django.utils.deprecation.CallableBool`` (:ticket:`28230`).
|
||||
|
||||
* Relaxed the validation added in Django 1.11 of the fields in the ``defaults``
|
||||
argument of ``QuerySet.get_or_create()`` and ``update_or_create()`` to
|
||||
reallow settable model properties (:ticket:`28222`).
|
||||
|
||||
Reference in New Issue
Block a user