mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.
Previously, it was a QuerySet which could reevaluate to a new value if the model's data changes. This is inconsistent with other Field.value_from_object() methods. This allows reverting the fix in the admin for refs #27998.
This commit is contained in:
@@ -35,3 +35,8 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in 1.11.4 where ``runserver`` crashed with non-Unicode
|
||||
system encodings on Python 2 + Windows (:ticket:`28487`).
|
||||
|
||||
* Fixed a regression in Django 1.10 where changes to a ``ManyToManyField``
|
||||
weren't logged in the admin change history (:ticket:`27998`) and prevented
|
||||
``ManyToManyField`` initial data in model forms from being affected by
|
||||
subsequent model changes (:ticket:`28543`).
|
||||
|
||||
Reference in New Issue
Block a user