Hi Peter, the problem is that if you import a module once, it stays in memory. The only to ways to reload is to restart web2py (not just the web server) o explicitly use the python command reload.
Massimo On Dec 14, 4:23 pm, Peter <peter.kleyn...@gmail.com> wrote: > I'm editing applications/plugin_t2/modules/t2.py, trying to find out > why my registration emails don't get out the door ("Unable to Send > Email", hmm). But it seems that despite my edits, the original t2 code > gets executed. Of course, I've deleted the t2.pyc I've found there. Is > there a trick to this? Should I clear a cache somewhere? > > Example: I've changed line #237 in t2.py from: > self.messages.unable_to_send_email="Unable to Send Email" > to self.messages.unable_to_send_email="Santa Claus is Coming" > -- and if I try to register, I still get the original flash message... > which might explain why the log.infos that I put in also come up > empty. > > Thanks in advance, > -Peter --~--~---------~--~----~------------~-------~--~----~ 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 web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---