MCPcopy
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

validMethod · 0.80
invalidMethod · 0.80

Calls 1

full_cleanMethod · 0.45

Tested by

no test coverage detected