workaround for multiple template engines

dj111
eric 2018-07-24 11:55:48 -04:00
parent 425f427a85
commit fed891f6a7
1 changed files with 1 additions and 1 deletions

View File

@ -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: