@register.filter
@stringfilter
def pretty_print_issue_status(status):
 return BaseComment.issue_status_to_string(status)

@ register . filter @ stringfilter def pretty_print_issue_status ( status ) : return BaseComment . issue_status_to_string ( status )
turns an issue status code into a human-readable status string .