I tried the reload() trick in the past but it kept complaining: TypeError: reload() argument must be module
Got it working now :) import sys utilsmodule = 'applications.%s.modules.utils' % request.application from utilsmodule import doit reload(sys.modules[utilsmodule]) #@@@ Development only, remove for production Enjoy, rev --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---