1
0
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:
Alex
2017-05-19 06:40:43 -04:00
committed by Tim Graham
parent f804b46294
commit b9abdd92ab
5 changed files with 38 additions and 5 deletions

View File

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