From 6858f53dda65c79e2201a67ba34d3885b3f11e22 Mon Sep 17 00:00:00 2001 From: okwrtdsh Date: Thu, 24 Jan 2019 19:17:32 +0900 Subject: [PATCH] =?UTF-8?q?Django=202.1=20=E5=AF=BE=E5=BF=9C(widget?= =?UTF-8?q?=E3=81=ABrenderer=E5=BC=95=E6=95=B0=E8=BF=BD=E5=8A=A0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- django_cbv_utils/forms/widgets/datetime_picker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_cbv_utils/forms/widgets/datetime_picker.py b/django_cbv_utils/forms/widgets/datetime_picker.py index 7cba297..1d4cfd4 100644 --- a/django_cbv_utils/forms/widgets/datetime_picker.py +++ b/django_cbv_utils/forms/widgets/datetime_picker.py @@ -88,7 +88,7 @@ def __init__(self, attrs=None, options=None): ) super().__init__(attrs, format=self.format) - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): final_attrs = self.build_attrs(attrs) rendered_widget = super().render(name, value, final_attrs)