From 2f6b096b83c55317c7ceef2d8d5dc3bee33293dc Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 30 Nov 2024 08:03:55 +0000 Subject: Fixed #35950 -- Restored refreshing of relations when fields deferred. Thank you to Simon Charette and Sarah Boyce for the review. Regression in 73df8b54a2fab53bec4c7573cda5ad8c869c2fd8. --- docs/releases/5.1.4.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.1.4.txt b/docs/releases/5.1.4.txt index 0c21d99566..44950ac76a 100644 --- a/docs/releases/5.1.4.txt +++ b/docs/releases/5.1.4.txt @@ -12,3 +12,7 @@ Bugfixes * Fixed a crash in ``createsuperuser`` on Python 3.13+ caused by an unhandled ``OSError`` when the username could not be determined (:ticket:`35942`). + +* Fixed a regression in Django 5.1 where relational fields were not updated + when calling ``Model.refresh_from_db()`` on instances with deferred fields + (:ticket:`35950`). -- cgit v1.3