﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6426	Documentation fault at #writing-custom-template-tags, load_template	panni@…	nobody	"Auto-escaping considerations >> New in Django development version states:

{{{
def render(self, context):
    t = template.load_template('small_fragment.html')
    return t.render(Context({'var': obj}, autoescape=context.autoescape))
}}}

This simply won't work because you're referring to django.template.load_template, which doesn't exist.
You probably mean django.template.loader.get_template(), or render_to_string()."		closed	Documentation	dev		fixed	#writing-custom-template-tags, custom template tags, load_template		Accepted	1	0	0	0	0	0
