Hi,
This is my first attempt to build a Jinja2 extension. The purpose was
to add a {% load %} tag to import functions on demand, as in:
{% load foo %}
{{ foo('this is a test') }}
{% load foo as bar %}
{{ bar('this is another test') }}
I know, it can be done in several ways without any new tag... I just
wanted to try it. A working version is here:
http://paste.pocoo.org/show/123927/
Please let me know if I am doing something very wrong. :)
thanks,
rodrigo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---