def setup_user_roles(): from app import context from flask.ext.sqlalchemy import SQLAlchemy db = SQLAlchemy() context.setup_user_roles()