ilias
2010-11-09 19:50:49 UTC
I would like to add my functions to be able to call them from
templates via dollar:
<p>${foo("bar")}</p>
I've found that I may extend genshi.template.eval.BUILTINS dictionary
with my functions. Is there nicer way?
templates via dollar:
<p>${foo("bar")}</p>
I've found that I may extend genshi.template.eval.BUILTINS dictionary
with my functions. Is there nicer way?
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.