MCPcopy
hub / github.com/django/django / _clean_bound_field

Method _clean_bound_field

django/forms/fields.py:708–710  ·  view source on GitHub ↗
(self, bf)

Source from the content-addressed store, hash-verified

706 return not self.disabled and data is not None
707
708 def _clean_bound_field(self, bf):
709 value = bf.initial if self.disabled else bf.data
710 return self.clean(value, bf.initial)
711
712
713class ImageField(FileField):

Callers

nothing calls this directly

Calls 1

cleanMethod · 0.95

Tested by

no test coverage detected