X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3f7ea05878c9fa9ac9ff13211e48773ab6cf64eb..907aba88951334676a259dccc8f7edd8934d5e00:/src/contact/widgets.py 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))