Flask in Python: User Interactions in Flask Applications

Flask 1.1
  • 12 Videos | 1h 25m 54s
  • Includes Assessment
  • Earns a Badge
Likes 23 Likes 23
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

  • Playable
    1. 
    Course Overview
    2m 6s
    UP NEXT
  • Playable
    2. 
    Handling HTML Errors in Flask
    5m 32s
  • Locked
    3. 
    Enabling POST Requests on a Route
    6m 32s
  • Locked
    4. 
    Logging Information for a Flask Application
    7m 37s
  • Locked
    5. 
    Message Flashing in a Flask Application
    9m 22s
  • Locked
    6. 
    Styling Flashed Messages
    4m 24s
  • Locked
    7. 
    Creating a Registration Page Using WTForms
    9m 44s
  • Locked
    8. 
    Creating a Login Page Using WTForms
    9m 2s
  • Locked
    9. 
    Incorporating the Registration and Login Pages
    8m 55s
  • Locked
    10. 
    Validating Form Data on Submission
    7m 48s
  • Locked
    11. 
    Testing Each of the Form Validators
    8m 22s
  • 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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 123 Likes 123  
Likes 37 Likes 37