Flask in Python: User Interactions in Flask Applications

Flask    |    Intermediate
  • 12 videos | 1h 20m 54s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 15 users Rating 4.5 of 15 users (15)
In this 12-video course, learners discover how to handle errors in Flask-a widely used web framework written in Python language-by serving a custom error page whenever a 404 error is invoked on a website. Learn how to configure a route in your Flask app so that POST requests can be submitted. Next, use the Flask debugger to record information in your application's log; convey the invocation of an operation to end users by using message flashing, and then highlight flashed messages by defining a style for them in a cascading style sheet (CSS) file. Next, explore how to install and use WTForms in Flask application to accept user input for registration, and define a login page by using field definitions and built-in form validations available in WTForms. Then include the two pages defined by using WTForms in the Flask application, and invoke the validators defined for WTForm elements to ensure that the user input is in the correct form. Finally, ensure that all built-in validators applied on the WTForm elements work as expected.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Serve a custom error page whenever a 404 error is invoked on your web site
    Configure a route in your flask app so that post requests can be submitted to it
    Use the flask debugger to record information in your application's log
    Convey the invocation of an operation to end users using message flashing
    Highlight flashed messages by defining a style for them in a css file
  • Install and use wtforms in your flask application to accept user input for registration
    Define a login page using field definitions and built-in validators available in wtforms
    Include the two pages defined using wtforms in the flask application
    Invoke the validators defined for wtform elements to ensure that the user input is in the correct form
    Ensure that all the built-in validators applied on the wtform elements work as they are expected to
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 6s
  • 5m 32s
    In this video, you will learn how to customize the 404 error message in Flask. FREE ACCESS
  • Locked
    3.  Enabling POST Requests on a Route
    6m 32s
    In this video, you will learn how to enable POST requests on a route. You will also discover how to store feedback submitted by users. FREE ACCESS
  • Locked
    4.  Logging Information for a Flask Application
    7m 37s
    In this video, learn how to use the Flask debugger to record information in your application's log. FREE ACCESS
  • Locked
    5.  Message Flashing in a Flask Application
    9m 22s
    In this video, you will learn how to record and display feedback messages within a Flask application. FREE ACCESS
  • Locked
    6.  Styling Flashed Messages
    4m 24s
    Learn how to highlight flashed messages by defining a style for them in a CSS file. FREE ACCESS
  • Locked
    7.  Creating a Registration Page Using WTForms
    9m 44s
    In this video, you will install and use WTForms in your Flask application to accept user input for registration. FREE ACCESS
  • Locked
    8.  Creating a Login Page Using WTForms
    9m 2s
    In this video, you will learn how to define a login page using field definitions and built-in validators available in WTForms. FREE ACCESS
  • Locked
    9.  Incorporating the Registration and Login Pages
    8m 55s
    In this video, you will learn how to incorporate the registration and login pages. Your host for the session is Kishan Iyer. FREE ACCESS
  • Locked
    10.  Validating Form Data on Submission
    7m 48s
    In this video, you will learn how to invoke the validators defined for WTForm elements to ensure that the user input is in the correct form. FREE ACCESS
  • Locked
    11.  Testing Each of the Form Validators
    8m 22s
    In this video, learn how to ensure that all the built-in validators applied to the WTForm elements work as expected. FREE ACCESS
  • Locked
    12.  Course Summary
    1m 29s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 50 users Rating 4.6 of 50 users (50)
Rating 4.5 of 15 users Rating 4.5 of 15 users (15)
Rating 4.5 of 179 users Rating 4.5 of 179 users (179)