MCPcopy
hub / github.com/django/django / _bound_items

Method _bound_items

django/forms/forms.py:170–173  ·  view source on GitHub ↗

Yield (name, bf) pairs, where bf is a BoundField object.

(self)

Source from the content-addressed store, hash-verified

168 }
169
170 def _bound_items(self):
171 """Yield (name, bf) pairs, where bf is a BoundField object."""
172 for name in self.fields:
173 yield name, self[name]
174
175 def __iter__(self):
176 """Yield the form's fields as BoundField objects."""

Callers 3

get_contextMethod · 0.95
_clean_fieldsMethod · 0.95
changed_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected