Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ clean
Method
clean
django/forms/fields.py:941–943 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
939
return
value
940
941
def
clean(self, value):
942
value = super().clean(value)
943
return
self._coerce(value)
944
945
946
class
MultipleChoiceField(ChoiceField):
Callers
7
test_typedchoicefield_1
Method · 0.95
test_typedchoicefield_2
Method · 0.95
test_typedchoicefield_3
Method · 0.95
test_typedchoicefield_4
Method · 0.95
test_typedchoicefield_5
Method · 0.95
test_typedchoicefield_6
Method · 0.95
test_typedchoicefield_special_coerce
Method · 0.95
Calls
2
_coerce
Method · 0.95
clean
Method · 0.45
Tested by
7
test_typedchoicefield_1
Method · 0.76
test_typedchoicefield_2
Method · 0.76
test_typedchoicefield_3
Method · 0.76
test_typedchoicefield_4
Method · 0.76
test_typedchoicefield_5
Method · 0.76
test_typedchoicefield_6
Method · 0.76
test_typedchoicefield_special_coerce
Method · 0.76