from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy


app = Flask(__name__)

# load configuration file
app.config.from_object('config')

# database initialization
db = SQLAlchemy(app)

from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy


app = Flask(__name__)

# load configuration file
app.config.from_object('config')

# database initialization
db = SQLAlchemy(app)

from app import models

Add import models to app
Add import models to app
