#NEWLINE# @ register . simple_tag #NEWLINE# def admin_list_filter( cl , spec ) : #NEWLINE# #INDENT# tpl = get_template ( spec . template ) #NEWLINE# return tpl . render ( { #NEWLINE# #INDENT# 'title' : spec . title , #NEWLINE# 'choices' : list ( spec . choices ( cl ) ) , #NEWLINE# 'spec' : spec , #NEWLINE# #UNINDENT# } )