def get_render_template(self, request, instance, **kwargs):
templates = [<EOL>self.render_template.format(style=instance.style),<EOL>self.render_template.format(style='<STR_LIT:default>'),<EOL>]<EOL>style_options = instance.get_style_options()<EOL>template = style_options.get('<STR_LIT>', None)<EOL>if template:<EOL><INDENT>templates.insert(<NUM_LIT:0>, template)<EOL><DEDENT>return templates<EOL>
Auto select a rendering template using the "style" attribute