MCQs > IT & Programming > Django > When customizing validation in a Form subclass named MyForm, how do you add an error message that is displayed as a form-wide error?

Django MCQs

When customizing validation in a Form subclass named MyForm, how do you add an error message that is displayed as a form-wide error?

Answer

Correct Answer: Raise ValidationError in MyForm.clean()

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it