Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ clean
Method
clean
tests/forms_tests/tests/test_formsets.py:47–49 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
46
class
ChoiceFormsetWithNonFormError(ChoiceFormSet):
47
def
clean(self):
48
super().clean()
49
raise
ValidationError(
"non-form error"
)
50
51
52
class
FavoriteDrinkForm(Form):
Callers
nothing calls this directly
Calls
2
ValidationError
Class · 0.90
clean
Method · 0.45
Tested by
no test coverage detected