coleifer/flask-peewee — pull request #121 by 47bytes (2014-01-30 04:28:14+00:00)
Title: added init_app support.

it can be extremely useful to initialize an empty Database and add the app in a different file.
currently it is not possible but with this fix it's possible to call
db = flask.ext.peewee.db.Database(None)
and later do
db.init_app(app)