mirror of
https://github.com/django/django.git
synced 2025-06-07 04:29:12 +00:00
[1.6.x] Fixed docstring typo in django/forms/forms.py.
Backport of 81bb8d1220 from master
This commit is contained in:
parent
e694b0631f
commit
bd3af2ee64
@ -577,7 +577,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…
x
Reference in New Issue
Block a user