1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

[1.6.x] Fixed docstring typo in django/forms/forms.py.

Backport of 81bb8d1220 from master
This commit is contained in:
Marc Sibson 2014-01-09 20:31:22 -08:00 committed by Tim Graham
parent e694b0631f
commit bd3af2ee64

View File

@ -577,7 +577,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