Introduction to Flask Training

Customized Onsite Training

  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors

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.

  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:

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Live Online Training


Organizations who trust Webucator for their training needs


Satisfaction guarantee and retake option


Students rated our trainers 9.38 out of 10 based on 4,959 reviews

My instructor was very knowledgeable, helpful, and patient. I would highly recommend this training.

Elaine McArthur, U.S. Equal Employment Opportunity Commission
Tampa FL

Webucator is a great way to learn. I have never tried to take a class on line before but after this experience, I will do it again. It is a great venue for learning; no travel, very personalized, and the teacher was extremely knowledgeable and made learning fun.

Michael Canny, Park Chapel Christian Church
Greenfield IN

I highly recommend Webucator. The support before class was top-notch and I don't think I could have had a better instructor.

Joan Morrissy, Jones Lang LaSalle Americas, Inc.
Willow Springs IL

The instructor had lots of course knowledge, a comfortable teaching style, and was able to respond to my questions and show me how to experiment with what he taught.

John Stabile, Marygrove College
Warren MI

Contact Us or call 1-877-932-8228