@receiver(comment_endorsed)
def comment_endorsed_handler(sender, **kwargs):
 comment = kwargs['post']
 handle_activity(kwargs['user'], comment, long(comment.thread.user_id))

@ receiver ( comment_endorsed ) def comment_endorsed_handler ( sender , ** kwargs ) : comment = kwargs [ 'post' ] handle_activity ( kwargs [ 'user' ] , comment , long ( comment . thread . user_id ) )
update the users last activity date upon endorsing a comment .