def create_db():
    " Create database. "

    from ..ext import db
    db.create_all()

    # Evolution support
    from flask import current_app
    from flaskext.evolution import db as evolution_db
    evolution_db.init_app(current_app)
    evolution_db.create_all()

    print "Database created successfuly"
def create_db ( ) : from . . ext import db db . create_all ( ) from flask import current_app from flaskext . evolution import db as evolution_db evolution_db . init_app ( current_app ) evolution_db . create_all ( ) print "Database created successfuly"
Create database.