diff --git a/common/forms.py b/common/forms.py index 5ec561a7a8139cf9cc633834c463769b852f3f57..28bc6f68d14678caec82958603b5aa535929089b 100644 --- a/common/forms.py +++ b/common/forms.py @@ -52,7 +52,7 @@ class MonthYearWidget(Widget): def sqeeze_form_group(self, html, width=6): return '<div class="form-group col-md-{width}">{html}</div>'.format(width=width, html=html) - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): try: year_val, month_val = value.year, value.month except AttributeError: