1. Use what you've learnt yesterday to allow users to go to the /register route to sign up to your blog website. You should create a WTForm in forms.py called RegisterForm and use Flask-Bootstrap to render a wtf quick_form.

The data the user entered should be used to create a new entry in your blog.db in a User table.

This is what you are aiming for:


HINT 1: You don't need to change anything in register.html

HINT 2: Don't worry about Flask-Login yet, you are just creating a new user in the database. We'll log them in in the next step.


SOLUTION