Fixed docstring typo in django/forms/forms.py.
This commit is contained in:
parent
270c9fe488
commit
81bb8d1220
|
@ -661,7 +661,7 @@ class BoundField(object):
|
||||||
"""
|
"""
|
||||||
Wrapper around the field widget's `id_for_label` method.
|
Wrapper around the field widget's `id_for_label` method.
|
||||||
Useful, for example, for focusing on this field regardless of whether
|
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
|
widget = self.field.widget
|
||||||
id_ = widget.attrs.get('id') or self.auto_id
|
id_ = widget.attrs.get('id') or self.auto_id
|
||||||
|
|
Loading…
Reference in New Issue