I'm writing a Jinja extension. My extension parses code snippets from the template and saves them as macros in the AST, but I also need to create a mapping in the template/context so those macros can be looked up at render time by certain criteria (besides their names). What's the best way to stash a dictionary (mapping strings to strings) in the template?
Thanks! Matt -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pocoo-libs. For more options, visit https://groups.google.com/d/optout.
