I wanted to do something like this in my jinja2 template:

{% if isinstance(val, UUID) %}

I could only get it to work when I passed in isinstance=isinstance in
the render call.

I've come across other missing builtin functions too.  What am I doing
wrong?
--~--~---------~--~----~------------~-------~--~----~
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