Fix call to .resolve_context (#4371)

This commit is contained in:
Tom Christie 2016-08-09 17:48:29 +01:00 committed by GitHub
parent e1768bdc16
commit 0781182646

View File

@ -168,7 +168,7 @@ class TemplateHTMLRenderer(BaseRenderer):
if hasattr(self, 'resolve_context'):
# Fallback for older versions.
context = self.resolve_context(self, data, request, response)
context = self.resolve_context(data, request, response)
else:
context = self.get_template_context(data, renderer_context)
return template_render(template, context, request=request)