MCPcopy
hub / github.com/django/django / clean

Method clean

tests/forms_tests/tests/test_forms.py:1795–1796  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1793 hidden_input = CharField(widget=HiddenInput)
1794
1795 def clean(self):
1796 self.add_error(None, "Form error")
1797
1798 f = TestForm(data={})
1799 error_dict = {

Callers

nothing calls this directly

Calls 1

add_errorMethod · 0.80

Tested by

no test coverage detected