def init_db(): with project(): manage("syncdb --noinput") manage("migrate")
def init_db(): with project(): manage("syncdb --noinput") manage("schemamigration %s --initial" % env.app_name) manage("migrate")