Make sure template API renders in non US languages.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-26 16:41:54 -04:00
parent e46f55a2a2
commit d3c1204626
3 changed files with 21 additions and 4 deletions

View File

@@ -393,7 +393,7 @@ class Template(object):
context=context,
).render()
self.html = result.content
self.html = result.rendered_content
self.hex_hash = hashlib.sha256(result.content).hexdigest()
return self