Any web application that includes authentication processes should have some sort of email activation flow. If you don’t, you’re decreasing the possibility of contacting your users and opening a door for spammers to create fake accounts and affect your website.
Django has a built-in mail sending interface, which we’ll be using to send emails with SendGrid through the tutorial.
After we finish, you’ll have an authentication system that requires users to verify their account with a confirmation email.
We’ll create a complete project from scratch but if you already have one, don’t hesitate in following along with this tutorial.
Whenever you want a quick reference to the code, you can visit this GitHub repository.
To complete this tutorial, you’ll need the following:
- A SendGrid account (Start for free). …