From 5b04c476c9b94b236bb58dce00bec981eae27ea8 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 23 Aug 2024 18:01:27 +0200 Subject: [PATCH] Fix missing renderer parameter support --- gnuviechadmin/managemails/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnuviechadmin/managemails/admin.py b/gnuviechadmin/managemails/admin.py index 68a3c12..ca20457 100644 --- a/gnuviechadmin/managemails/admin.py +++ b/gnuviechadmin/managemails/admin.py @@ -10,7 +10,7 @@ PASSWORD_MISMATCH_ERROR = _("Passwords don't match") class ReadOnlyPasswordHashWidget(forms.Widget): - def render(self, name, value, attrs): + def render(self, name, value, attrs, renderer=None): final_attrs = self.build_attrs(attrs) summary = format_html("{0}: {1} ", _("Hash"), value) return format_html("{1}", flatatt(final_attrs), summary)