parameters: (self)
docstring: self.org_obj = self.get_org()
          self.new_obj
docstring_summary: self.org_obj = self.get_org()
          self.new_obj
docstring_tokens: self . org_obj = self . get_org () self . new_obj
function: def do_update(self):
          '''
          self.org_obj = self.get_org()
          self.new_obj
          '''
          self.new_obj.save()
          if self.log:
              change_message = self.construct_change_message(self.request, self.form_obj, getattr(self,'formsets',[ ]) )
              self.log_change(self.request, self.new_obj, change_message)
function_tokens: def do_update ( self ) : self . new_obj . save ( ) if self . log : change_message = self . construct_change_message ( self . request , self . form_obj , getattr ( self , 'formsets' , [ ] ) ) self . log_change ( self . request , self . new_obj , change_message )