def render_both(template_name, *args, **kwargs):
if template_name.endswith('<STR_LIT:html>'):<EOL><INDENT>return html_message<EOL><DEDENT>return text_message<EOL>
Fake render function that returns both HTML and plain text.