> http://webpy.org/cookbook/templates_on_gae

Anand,
This script is great. Yet, sometimes I am using functions within the
templates
by registering them at web.template.Template.globals,
e.g. web.template.Template.globals['sorted'] = sorted

At the moment I am copying the funcitons manually into the templates/
__init__.py after each compilation.

Can you think of a better way to hack this limitation?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to