Fix missing renderer parameter support
This commit is contained in:
parent
38b120b03e
commit
5b04c476c9
1 changed files with 1 additions and 1 deletions
|
@ -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("<strong>{0}</strong>: {1} ", _("Hash"), value)
|
||||
return format_html("<div{0}>{1}</div>", flatatt(final_attrs), summary)
|
||||
|
|
Loading…
Reference in a new issue