From 68a45d9a8078db642f0aca7ddab33af6df7ebeb3 Mon Sep 17 00:00:00 2001 From: michalpokusa <72110769+michalpokusa@users.noreply.github.com> Date: Wed, 18 Jun 2025 11:37:35 +0200 Subject: Fixed #36386 -- Added styles and icons for INFO and DEBUG messages in the admin. --- docs/releases/6.0.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index e653884163..848f792bc0 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -348,6 +348,13 @@ Miscellaneous or their templates, you may need to :ref:`update them ` to match the new layout. +* Message levels ``messages.DEBUG`` and ``messages.INFO`` now have distinct + icons and CSS styling in the admin. Previously, these used the same icon and + styling as the ``messages.SUCCESS`` level. Since + :meth:`.ModelAdmin.message_user` uses the ``messages.INFO`` level by default, + set the level to ``messages.SUCCESS`` to retain the previous icon and + styling. + .. _deprecated-features-6.0: Features deprecated in 6.0 -- cgit v1.3