Yesterday we saw how we could make HTML forms work with our Flask server and get hold of the data that a user enters into the form. Today, we're going to improve on that, we're going to build forms using a Flask extension called Flask-WTF. It has a number of benefits over the simple HTML Form. e.g.

Flask developers will usually choose Flask-WTF to create forms in their websites. However, in the wild, you might also see projects that are built with HTML Forms. So it's important to understand how both of them work.


Secrets

By the end of today, we will build a website that holds some secrets. Only with the right username and password can you access the page with our secrets.