2010/9/15 Daniel Garcia <[email protected]> > > You can add one function to template [1]: > > render = web.template.render('templates', globals={'zip': zip}) > > [1] http://webpy.org/docs/0.3/templetor#builtins > > > Yeap, it is ok to add as global to render function. As documentation says: *"Some common builtin functions like range, min, max etc. and boolean values True and False are made available to all the templates"* Which built-in functions are available to all the templates, is there whole list somewhere?
-- Aydın Şen -- 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.
