filmov
tv
Create a Contact Form using Flask & Store Messages in a CSV! | Flask Tutorial

Показать описание
In this video, I go over how to create a simple contact form using Flask. We will use WTForms for the validation, as well as the built-in CSV module in Python. This allows us to write the user-entered data to the CSV that we can then easily download & use.
We also look at how to clear the input fields and give the user feedback once the message has been successfully sent.
Timestamps:
00:00 | Intro
00:16 | Installation
02:00 | Creating home route
03:50 | Creating form using WTForms
10:00 | Storing form data in CSV
12:30 | Providing the user feedback
We also look at how to clear the input fields and give the user feedback once the message has been successfully sent.
Timestamps:
00:00 | Intro
00:16 | Installation
02:00 | Creating home route
03:50 | Creating form using WTForms
10:00 | Storing form data in CSV
12:30 | Providing the user feedback