Commit 0ca7e144 authored by fred's avatar fred
Browse files

1.11: don't use Context to render search items

parent 1a2141ed
......@@ -307,7 +307,7 @@ class FormatSearchResultNode(template.Node):
'episode': 'episodes'
t = template.loader.get_template('%s/search_result.html' % dir_mapping.get(result.model_name))
return t.render(template.context.Context({'result': result}, autoescape=context.autoescape))
return t.render({'result': result})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment