def render_message(tpl_name, **context):
 tpl = _tpl_lookup.get_template(tpl_name)
 return tpl.render(**context)

def render_message ( tpl_name , ** context ) : tpl = _tpl_lookup . get_template ( tpl_name ) return tpl . render ( ** context )
render an email message .