#NEWLINE# @ views . app_template_filter ( 'pluralize' ) #NEWLINE# def pluralize( number , singular = '' , plural = 's' ) : #NEWLINE# #INDENT# if ( number == 1 ) : #NEWLINE# #INDENT# return singular #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return plural