Working with File Upload in Flask

Today we will learn file upload with Flask. This tutorial divided into 4 parts that cover the file upload (including image) and validation, setting upload directory path and final step is saving the uploaded files.

Read More

Secure Form With CSRF Token in Flask

Most of the applications would implement Forms as per there requirements. That could be like Contact Form, Register / Login Form, etc. It is easy for a spammer to inject unwanted content into Unsecured Forms. In this tutorial, we will learn how to add validation rules and CSRF token. We are using Flask to create the basic registration form.

Read More