'Set the comment author from a User object.'

def set_comment_author(self, user):

    self.parameters.update({'comment_author': (user.fullname or user.get_full_name() or user.username), 'comment_author_email': user.email})
