def make_model_save(model, fields, fail_message):
 def save(self, commit=True):
  return save_instance(self, model(), fields, fail_message, commit)
 return save

def make_model_save ( model , fields , fail_message ) : def save ( self , commit = True ) : return save_instance ( self , model ( ) , fields , fail_message , commit ) return save
returns the save() method for a form .