Hi, reload(module)
You might want to take that out once you go into production. (I just asked the same question this week, there's a small thread on that.) Deodoro Filho Em 17/10/2008, às 06:47, cjparsons escreveu: > > I have some helper functions in applications/[application]/modules/ > helperFunctions.py. > > I import that in my controller using the full path applications/ > [application]/modules/helperFunctions > > I find that if I make changes to helperFunctions.py web2py doesn't see > them until I restart web2py. Is there a way of forcing web2py to > reload the module whenever a function in the controller is executed? > This would be useful while getting the helperFunctions right. > > Thank you > > Chris > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---