From 97c93549fc864af61cb1ae1fd171a3c7ac6ee89a Mon Sep 17 00:00:00 2001 From: antoliny0919 Date: Thu, 17 Apr 2025 19:38:26 +0900 Subject: [5.2.x] Fixed #36331 -- Reverted "Fixed #36055 -- Prevented overlap of object-tools buttons and page header in the admin." This reverts commits b1324a680add78de24c763911d0eefa19b9263bc and 02a5cbfe76382da2a0414df17017185be5bd47f9. The former caused a regression in admin sites that relied on the `object-tools` block being inside the `content` block. Thank you to Fabian Braun for the report. Backport of 1bc805e23b73a580b82a1d416ab0fb59a1073047 from main. --- docs/releases/5.2.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.2.1.txt b/docs/releases/5.2.1.txt index 81fb750847..caebde7f02 100644 --- a/docs/releases/5.2.1.txt +++ b/docs/releases/5.2.1.txt @@ -40,3 +40,7 @@ Bugfixes * Fixed a regression in Django 5.2 where the password validation error message from ``MinimumLengthValidator`` was not translated when using non-English locales (:ticket:`36314`). + +* Fixed a regression in Django 5.2 that caused the ``object-tools`` block to be + rendered twice when using custom admin templates with overridden blocks due + to changes in the base admin page block structure (:ticket:`36331`). -- cgit v1.3