From 54a2835afcb983f6d5165d86b9d92508d2e8f552 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Thu, 9 Jul 2026 17:59:02 +0200 Subject: [PATCH] Update signal docstring --- src/pretix/control/signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/signals.py b/src/pretix/control/signals.py index f3b68cc856..57f87109a0 100644 --- a/src/pretix/control/signals.py +++ b/src/pretix/control/signals.py @@ -141,7 +141,7 @@ event_dashboard_widgets = EventPluginSignal() This signal is sent out to include widgets in the event dashboard. Receivers should return a list of dictionaries, where each dictionary can have the keys: -* content (str, containing HTML) +* content (SafeString, containing HTML) * display_size (str, one of "full" (whole row), "big" (half a row) or "small" (quarter of a row). May be ignored on small displays, default is "small") * priority (int, used for ordering, higher comes first, default is 1) @@ -158,7 +158,7 @@ Arguments: 'user' This signal is sent out to include widgets in the personal user dashboard. Receivers should return a list of dictionaries, where each dictionary can have the keys: -* content (str, containing HTML) +* content (SafeString, containing HTML) * display_size (str, one of "full" (whole row), "big" (half a row) or "small" (quarter of a row). May be ignored on small displays, default is "small") * priority (int, used for ordering, higher comes first, default is 1)