Flask in Python: User Interactions in Flask Applications
Flask
| Intermediate
- 12 videos | 1h 20m 54s
- Includes Assessment
- Earns a Badge
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 courseServe a custom error page whenever a 404 error is invoked on your web siteConfigure a route in your flask app so that post requests can be submitted to itUse the flask debugger to record information in your application's logConvey the invocation of an operation to end users using message flashingHighlight 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 registrationDefine a login page using field definitions and built-in validators available in wtformsInclude the two pages defined using wtforms in the flask applicationInvoke the validators defined for wtform elements to ensure that the user input is in the correct formEnsure that all the built-in validators applied on the wtform elements work as they are expected toSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 6s
-
5m 32sIn this video, you will learn how to customize the 404 error message in Flask. FREE ACCESS
-
6m 32sIn 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
-
7m 37sIn this video, learn how to use the Flask debugger to record information in your application's log. FREE ACCESS
-
9m 22sIn this video, you will learn how to record and display feedback messages within a Flask application. FREE ACCESS
-
4m 24sLearn how to highlight flashed messages by defining a style for them in a CSS file. FREE ACCESS
-
9m 44sIn this video, you will install and use WTForms in your Flask application to accept user input for registration. FREE ACCESS
-
9m 2sIn this video, you will learn how to define a login page using field definitions and built-in validators available in WTForms. FREE ACCESS
-
8m 55sIn this video, you will learn how to incorporate the registration and login pages. Your host for the session is Kishan Iyer. FREE ACCESS
-
7m 48sIn 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
-
8m 22sIn this video, learn how to ensure that all the built-in validators applied to the WTForm elements work as expected. FREE ACCESS
-
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.