Syllabus

  1. 01Jinja2 TemplatesKeep HTML out of your Python. Render template files with variables and filters, branch and loop inside them, and share one page layout across the whole site.2 lessons
    1. 01Variables, Filters and Escaping
    2. 02Conditions, Loops and Layouts
  2. 02FormsTake input from visitors. Read plain HTML forms with request.form and redirect after a POST, then let Flask-WTF define fields, validators and CSRF protection and report errors back to the page.2 lessons
    1. 01Reading Form Data
    2. 02Validated Forms with Flask-WTF