From e5bd585c6eb1e13e2f8aac030b33c077b0b70c05 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 31 Aug 2017 09:34:44 -0400 Subject: 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. --- docs/releases/1.11.5.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.11.5.txt b/docs/releases/1.11.5.txt index 91620eb740..cb9e466248 100644 --- a/docs/releases/1.11.5.txt +++ b/docs/releases/1.11.5.txt @@ -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`). -- cgit v1.3