@register.tag()
def render_template(parser, token):
    tags = parse_ttag(token, ['for', 'in'])
    if len(tags) != 3:
        raise template.TemplateSyntaxError, '%r tag has invalid arguments' % tags['tag_name']
    return RenderTemplateNode(object_name=tags['for'], template_dir=tags['in'])
Returns the proper template based on the objects content_type. If an
dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tools/templatetags/objectutils.py/render_template