def exp_create_database(db_name, demo, lang, user_password='admin', login='admin', country_code=None):
 _logger.info('Create database `%s`.', db_name)
 _create_empty_database(db_name)
 _initialize_db(id, db_name, demo, lang, user_password, login, country_code)
 return True

def exp_create_database ( db_name , demo , lang , user_password = 'admin' , login = 'admin' , country_code = None ) : _logger . info ( 'Create database `%s`.' , db_name ) _create_empty_database ( db_name ) _initialize_db ( id , db_name , demo , lang , user_password , login , country_code ) return True
similar to exp_create but blocking .