#NEWLINE# def tags_to_string( image ) : #NEWLINE# #INDENT# template_name = 'project/data_processing.data_image_registry/_list_tags.html' #NEWLINE# context = { #NEWLINE# #INDENT# 'image' : image , #NEWLINE# #UNINDENT# } #NEWLINE# return template . loader . render_to_string ( template_name , template_name )