nodes: 0, module; 1, function_definition; 2, function_name:save; 3, parameters; 4, block; 5, identifier:self; 6, list_splat_pattern; 7, dictionary_splat_pattern; 8, expression_statement; 9, if_statement; 10, if_statement; 11, expression_statement; 12, identifier:args; 13, identifier:kwargs; 14, comment:"""
          Store a string representation of content_object as target
          and actor name for fast retrieval and sorting.
          """; 15, not_operator; 16, block; 17, not_operator; 18, block; 19, call; 20, attribute; 21, expression_statement; 22, attribute; 23, expression_statement; 24, attribute; 25, argument_list; 26, identifier:self; 27, identifier:target; 28, assignment; 29, identifier:self; 30, identifier:actor_name; 31, assignment; 32, call; 33, identifier:save; 34, attribute; 35, call; 36, attribute; 37, call; 38, identifier:super; 39, argument_list; 40, identifier:self; 41, identifier:target; 42, identifier:str; 43, argument_list; 44, identifier:self; 45, identifier:actor_name; 46, identifier:str; 47, argument_list; 48, identifier:Activity; 49, identifier:self; 50, attribute; 51, attribute; 52, identifier:self; 53, identifier:content_object; 54, identifier:self; 55, identifier:actor
code: def save(self, *args, **kwargs):
          """
          Store a string representation of content_object as target
          and actor name for fast retrieval and sorting.
          """
          if not self.target:
              self.target = str(self.content_object)
          if not self.actor_name:
              self.actor_name = str(self.actor)
          super(Activity, self).save()