haldis/app/app.py

10 lines
218 B
Python

from flask import Flask
from flask.ext.bootstrap import Bootstrap
from flask.ext.sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_object('config.Configuration')
Bootstrap(app)
db = SQLAlchemy(app)