This adds support to inferring SendGrid settings from Heroku environment
variables. Since Mailgun was already there, this patch will not override
those settings.
Another thing this patch does is set the variables expected by [Flask-Mail][1].
Both SendGrid and Mailgun support TLS so that is enabled for both.
[1]: http://packages.python.org/Flask-Mail/
Flask-Heroku
============
This is a simple Flask extension that sets configuration defaults for
Heroku-esque environment variables.
This is far from conclusive. Send a pull request to add a new service!
Usage
-----
Usage is pretty simple::
from flask import Flask
from flask_heroku import Heroku
app = Flask(__name__)
heroku = Heroku(app)
Configuration is already setup::
>>> app.config['SQLALCHEMY_DATABASE_URI']
postgres://...
Install
-------
Installation is simple::
$ pip install flask-heroku