Loading django/forms/forms.py +1 −1 Original line number Diff line number Diff line Loading @@ -661,7 +661,7 @@ class BoundField(object): """ Wrapper around the field widget's `id_for_label` method. Useful, for example, for focusing on this field regardless of whether it has a single widget or a MutiWidget. it has a single widget or a MultiWidget. """ widget = self.field.widget id_ = widget.attrs.get('id') or self.auto_id Loading Loading
django/forms/forms.py +1 −1 Original line number Diff line number Diff line Loading @@ -661,7 +661,7 @@ class BoundField(object): """ Wrapper around the field widget's `id_for_label` method. Useful, for example, for focusing on this field regardless of whether it has a single widget or a MutiWidget. it has a single widget or a MultiWidget. """ widget = self.field.widget id_ = widget.attrs.get('id') or self.auto_id Loading