Ferrix Hovi fd09021e75 Support SendGrid
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/
2012-12-13 18:19:09 +02:00
2012-12-13 18:19:09 +02:00
2012-03-26 04:23:27 -04:00
2012-04-06 14:35:51 -04:00

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
S
Description
No description provided
Readme 57 KiB
Languages
Python 100%