コード例 #1
0
ファイル: wrapper.py プロジェクト: bigjason/honey
 def render(self, context):
     mako_context = context_to_dict(context)
     return self.template.render(**mako_context)
コード例 #2
0
ファイル: wrapper.py プロジェクト: bigjason/honey
 def render(self, context):
     jinja_context = context_to_dict(context)
     return self.template.render(**jinja_context)