Simple Contact Form Setup With Django Autosend

If you are a fellow web developer looking for a developer friendly SendGrid alternative, then you are at the right place.

In this article, we will go through how to set up a simple contact form with Django (our main fullstack framework), Celery (for asynchronous task scheduling), and the AutoSend email API (for sending emails).

💡This tutorial is written in the purpose of making you familiar with how to use autosend in your django application. That is why the contact form setup will be very simple and no complex email validation logic or complicated rate limiting functionality will be incorporated.

Prerequisites: You must be well familiar with Django and python. Existing knowledge of celery and redis will be helpful but not required.

Destructuring in Javascript

Destructuring is a special really cool syntax feature in JavaScript, which lets us to extract values from arrays, objects, or other iterable structures and assign them to variables.

It’s a shorthand way to access properties or elements of a data structure without having to use dot notation or array indices.

Destructuring has several benefits that make our code more concise, readable, and maintainable!