@contextfunction
def resolve_ctx(context):
 g._admin_render_ctx = context

@ contextfunction def resolve_ctx ( context ) : g . _admin_render_ctx = context
resolve current jinja2 context and store it for general consumption .