On Aug 12, 5:14 pm, DenesL <[email protected]> wrote: > To avoid restarting web2py after making changes use: > > exec('from applications.%s.modules.yourmodule import X' > %request.application) > reload(X) # remove for production > > Denes.
This doesn't work, did you try that? the reason is that X is probably a class and you cannot reload a class, you need a module object there. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

