Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Django 2.1 対応(widgetにrenderer引数追加)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwrtdsh committed Jan 24, 2019
1 parent 053fab8 commit 6858f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_cbv_utils/forms/widgets/datetime_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6858f53

Please sign in to comment.