X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3f7ea05878c9fa9ac9ff13211e48773ab6cf64eb..c79859fc60a6db521c413ab3f3e1b2b3440670e2:/src/contact/widgets.py?ds=sidebyside diff --git a/src/contact/widgets.py b/src/contact/widgets.py index 62a4976d5..fd2a49e36 100644 --- a/src/contact/widgets.py +++ b/src/contact/widgets.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -8,6 +7,6 @@ from django.utils.html import format_html class HeaderWidget(forms.widgets.Widget): - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): attrs.update(self.attrs) return format_html('', flatatt(attrs))