I started using Jinjia templates for a small project few weeks ago and 
started to love it!

At some point, I needed to use enum type variables in the template, but 
looking around I found no straightforward ways to do such a thing, so I came 
up with an idea. 

    
http://santini.dsi.unimi.it/extras/ph/an-enum-type-for-jinja-templates.html

Hope this can help other users,

   Massimo

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to