Note that web2py models, controllers, and views are executed by the framework on every request -- therefore, any changes to those files are reflected immediately upon the next request. Modules, however, are imported -- in Python, once a module is imported, changes to the module file are not reflected in the running code unless you re-start the interpreter or explicitly reload the module (and there are some limitations to reloading). As lyn2py has pointed out, at least in development, you can use the track_changes functionality to automatically reload modules whenever changes are made. Note, track_changes applies to the entire web2py installation (i.e., all apps served by the installation).
Anthony On Wednesday, August 15, 2012 1:55:16 AM UTC-4, Janath wrote: > > Hi, > I have kept some subroutines in modules folder of a web2py application. I > have been trying to edit those modules but was unable. Changes doesn't > reflect, even when I delete the compiled version from the folder. > > Is that the way it designed or I am I doing something wrong? > > Appreciate your response. > > Janath > --