Mastery Assessment: Forms & Validation

Complete this assessment with 100% score to master this chapter.

01What is the purpose of `{{ form.hidden_tag() }}` in a Flask-WTF form template?

02In WTForms, what is the difference between `form.data` and `form.populate_obj(obj)`?

03Why is `werkzeug.utils.secure_filename` mandatory when handling file uploads?