Introduction to Flask Training

This Introduction to Flask training class teaches the fundamental concepts to build web applications using the Python Flask framework.

The course goes through a step-by-step process of setting up your environment, introducing Flask, and then moves to exploring the SQL language, using the popular MySQL database, and finally showing you how to develop a blogging application.

The course is very hands on, teaching the concepts as students build, in an interactive way, two different web applications.

The course requires some basic knowledge of Python and it will be taught using Python 3. We also encourage students to come with a laptop with the Docker client installed, which is the easiest method to set up the development environment. If students know how to install Python and MySQL locally, they're welcome to use that as well.


Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!

Private Classes: Delivered at your offices , or any other location of your choice.

  1. Learn to effectively develop a Flask application.
  2. Learn to use databases in a Flask web application using an Object Relational Mapper (ORM).
  3. Learn to safely store data using Flask sessions.
  4. Learn to organize your application in modules.
  5. Learn to work with WTForms.
  6. Learn to do database migrations.
  7. Learn to handle image uploading and resizing using Flask-Uploads.
  8. Learn to write effective Unit Tests in Flask.
  1. Introduction
    1. What Is Flask
    2. Why Use Flask?
  2. Installing Flask
    1. Setting Up Our Development Environment
      1. Locally Using our Operating System
        1. Introduction to virtualenv and pip
      2. Locally Using Docker
      3. Using a Cloud-Based IDE
    2. The Code Editor
    3. Installing Flask
  3. Introduction to Flask
    1. Our Initial App
    2. Debugging
    3. Routing
    4. Using url_for
    5. The GET method
    6. The POST method
    7. Introduction to Templates
    8. The Login Template
    9. The Login Function
    10. Redirect After POST
    11. Flash Messages
    12. Better HTML
    13. Template Inheritance
    14. Calling Block Super
    15. Introduction to Cookies
    16. The Static Folder
    17. Introduction to Sessions
    18. Logging
    19. Introduction to MySQL
    20. Our First Table
  4. Our First Flask Application: A Flask Blog
    1. The Requirements.txt File
    2. Introduction
    3. The Basic Structure
    4. Setting up the ORM
    5. The Author Model
    6. Interacting with the ORM
    7. The Base Template and Bootstrap
    8. Introduction to WTForms
    9. Handling Form Errors
    10. Template Macros
    11. The Blog Model and Form
    12. Blog Admin and Setup Templates
    13. Blog Creation Database
    14. Author Login
    15. Our First Decorator
    16. Introduction to Migrations
    17. More Secure Passwords
    18. Checking “Is Author”
    19. The Post and Category Models
    20. Post Migration and Testing
    21. Introduction to Markdown
    22. Blog Post Form
    23. Saving the Post to the Database
    24. The Article View
    25. List Articles View
    26. Creating a Footer
    27. Pagination
    28. Setting up Flask-Uploads
    29. Adding Images to Blog Posts
    30. Displaying the Image in the Article
    31. Deleting an Article
    32. Editing an Article
  5. Unit Testing
    1. Introduction to Unit Testing
    2. Create Blog Test
    3. User Tests
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Python class:

  • Some programming experience.

Experience in the following would be useful for this Python class:

  • Python programming experience.
Prerequisite Courses

Courses that can help you meet these prerequisites:

Training for your Team

Length: 2 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

Great course. Instructor was patient and went at a perfect pace for the entire class.
Patricia Eaton
Big Bear Mountain Resorts
Webucator worked to customize the program for us. It was a success and we would not hesitate to use Webucator again for any future training needs.
Sheila Bosworth
Elias Wilf Corp
Webucator was a great training program! I truly received one-on-one instruction and attention from the instructor! Would definitely take another course here again. Thank you!
Michelle Brauner
The MITRE Corporation
I very much enjoyed my Excel 3 class. I learned a lot, and will recommend this to other members of my company as I thought it was very informative and a much better use of time and money than many live in-person Microsoft Suite classes that I have attended.
Elyse Castillo
Entertainment Cruises

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Instructor-led Training


Organizations who trust Webucator for their Instructor-led training needs


Satisfaction guarantee and retake option


Students rated our trainers 9.30 out of 10 based on 30,188 reviews

Contact Us or call 1-877-932-8228