either pass it in as an argument or it is need site wide assign it to template globals (web.template.Template.globals['myfunction'] = myfunction )
On May 1, 9:28 pm, MilesTogoe <[EMAIL PROTECTED]> wrote: > we're plotting graphics where screen coordinates need to be calculated - > is there any way to include a function in the template to perform the > real to screen coordinate conversion ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
