haldis/app/app.py

11 lines
218 B
Python
Raw Normal View History

2015-03-26 21:49:14 +01:00
from flask import Flask
from flask.ext.bootstrap import Bootstrap
2015-03-26 21:49:14 +01:00
from flask.ext.sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_object('config.Configuration')
Bootstrap(app)
2015-03-26 21:49:14 +01:00
db = SQLAlchemy(app)