Exemple #1
0
 def render(self, context):
     mako_context = context_to_dict(context)
     return self.template.render(**mako_context)
Exemple #2
0
 def render(self, context):
     jinja_context = context_to_dict(context)
     return self.template.render(**jinja_context)