@register.simple_tag
def reviewer_list(review_request):
 return humanize_list(([(group.display_name or group.name) for group in review_request.target_groups.all()] + [(user.get_full_name() or user.username) for user in review_request.target_people.all()]))

@ register . simple_tag def reviewer_list ( review_request ) : return humanize_list ( ( [ ( group . display_name or group . name ) for group in review_request . target_groups . all ( ) ] + [ ( user . get_full_name ( ) or user . username ) for user in review_request . target_people . all ( ) ] ) )
returns a humanized list of target reviewers in a review request .