Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

SendGrid Python Django Sample App

This git repository helps you to send emails quickly and easily through SendGrid using Python and Django.

Create an SendGrid account at

Clone SendGrid application on your local machine

git clone


Install SendGrid library

pip install sendgrid==0.3.1

Configure SGapp/ file with your information:

Update the <sendgrid_username> and <sendgrid_password> with your SendGrid credentials.

SENDGRID_USERNAME = '<sendgrid_username>';
SENDGRID_PASSWORD = '<sendgrid_password>';

Start python server

python runserver
# or
python runserver

Open the sample application in your browser http://localhost:8000/ Screenshot

For more information you can visit our Python Library

Something went wrong with that request. Please try again.