Flask in Python: User Interactions in Flask Applications
Flask 1.1
| 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
-
1.Course Overview2m 6sUP NEXT
-
2.Handling HTML Errors in Flask5m 32s
-
3.Enabling POST Requests on a Route6m 32s
-
4.Logging Information for a Flask Application7m 37s
-
5.Message Flashing in a Flask Application9m 22s
-
6.Styling Flashed Messages4m 24s
-
7.Creating a Registration Page Using WTForms9m 44s
-
8.Creating a Login Page Using WTForms9m 2s
-
9.Incorporating the Registration and Login Pages8m 55s
-
10.Validating Form Data on Submission7m 48s
-
11.Testing Each of the Form Validators8m 22s
-
12.Course Summary1m 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.