Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ _get_cleaned_form
Method
_get_cleaned_form
tests/test_utils/tests.py:1462–1465 ·
view source on GitHub ↗
(cls, field_value)
Source
from the content-addressed store, hash-verified
1460
1461
@classmethod
1462
def
_get_cleaned_form(cls, field_value):
1463
form = cls({
"field"
: field_value})
1464
form.full_clean()
1465
return
form
1466
1467
@classmethod
1468
def
valid(cls):
Callers
2
valid
Method · 0.80
invalid
Method · 0.80
Calls
1
full_clean
Method · 0.45
Tested by
no test coverage detected