def render_to_string(template_name, dictionary=None, context_instance=None):
    dictionary = dictionary or {}
    if isinstance(template_name, (list, tuple)):
        t = select_template(template_name)
    else:
        t = get_template(template_name)
    if context_instance:
        context_instance.update(dictionary)
    else:
        context_instance = Context(dictionary)
    return t.render(context_instance)
Loads the given template_name and renders it with the given dictionary as
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/template/loader.py/render_to_string