add renderer argument to custom datetime widget

This commit is contained in:
Frédéric Péters 2020-04-12 11:18:16 +02:00
parent bcc41af018
commit c166414d0d
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class PickerWidgetMixin(object):
super(PickerWidgetMixin, self).__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(PickerWidgetMixin, self).render(name, value, final_attrs)