标签: django templates request render
我可以使用
render_to_string('some_path', RequestContext(request, {'foo': 'bar'}))
而不是
render_to_string('some_path', {'foo': 'bar'}, RequestContext(request))