workaround for multiple template engines
parent
425f427a85
commit
fed891f6a7
|
@ -8,7 +8,7 @@ def render_with_landing(context, text):
|
|||
landing = context['runinfo'].landing
|
||||
context['landing_object'] = landing.content_object if landing else ''
|
||||
if text:
|
||||
template = Template(text)
|
||||
template = Template(text, using='DjangoTemplates')
|
||||
return template.render(context)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue