Every field in Form has validators which check the value against their conditions.
The primary task of a
Form
object is to validate data. With a bound
Form
instance, call the
is_valid()
method to run validation
and return a boolean designating whether the data was valid
as you see there it checks if the form is bound and not has errors.
If you see errors, it's a method with attribute decorator. that triggers the full_clean( ) method.
full_clean does _clean_fields which populates the cleaned_data with validation checked data.
So, If you call the is_valid() and it returns True, You know that all form validators are applied to the data and it had no errors. also the cleaned_data is ready to use.