Skip to content

charly24/sendgrid_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django SendGrid用サンプルプロジェクト

https://github.com/charly24/django-sendgrid 利用時のサンプルプロジェクト

構築/動作の流れは以下参照。 http://qiita.com/charly24/items/a820d1ff3a01be1cc475

※管理画面を見やすくするためにDjango Grappelliを導入しています

利用手順

環境構築

virtualenv --prompt "(sendgrid)" --python=/usr/bin/python3.5 virtualenv
source virtualenv/bin/activate
pip install -r requirements.txt

settings.pyの以下箇所をSendGridの設定に従い記述する。

SENDGRID_EMAIL_USERNAME = ''
SENDGRID_EMAIL_PASSWORD = ''
SENDGRID_API_KEY = ''

WEBサーバーの起動

./manage.py collectstatic
./manage.py runserver 127.0.0.1:8080

About

Django×SendGridのサンプルプロジェクト

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages