def save_db_model(new_model, model_name, event_id=None):
 save_to_db(new_model, ('Model %s saved' % model_name))
 return new_model

def save_db_model ( new_model , model_name , event_id = None ) : save_to_db ( new_model , ( 'Model %s saved' % model_name ) ) return new_model
save a new/modified model to database .