document BoundField's id_for_label attribute
|Reported by:||Keryn Knight <keryn@…>||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As there is no separate documentation on BoundField -- its just rolled into the page on forms -- it would be good to have additional fields even passingly documented under the section on looping over the form's fields. Specifically, it may be necessary on occassion to target one field with more than one label, which requires knowledge of BoundField.id_for_label or rooting through the source code.
I'd be tempted to also document css_classes and auto_id, although I suppose auto_id could be considered private?https://code.djangoproject.com/browser/django/trunk/django/forms/forms.py