def render(self, context): mako_context = context_to_dict(context) return self.template.render(**mako_context)
def render(self, context): jinja_context = context_to_dict(context) return self.template.render(**jinja_context)