@manager.command
def create_db():
    from models import DB
    url = app.config.get('SQLALCHEMY_DATABASE_URI', 'sqlite://')
    if url.startswith('sqlite:////'):
        path = url[10:]
        if not os.path.exists(path):
            os.makedirs(path)
    DB.create_all()
    DB.session.commit()
Returns a object which will be passed to the form for `step`
dataset/ETHPy150Open Alesh/Flask-Fragment/demo/ssiblog.py/create_db--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/formtools/wizard/views.py/WizardView.get_form_instance