Hi Peter -
IF you are doing this for T3, then you should look at the include in
applications/t2/models/db.py ---

plugins_t2 is "obsolete" now;  t3 uses the t2 that appears in it's modules
directory, so the include is really happening as

from applications.t3.modules.t2 import T2

The code in t3/models/db.py says:
exec('from applications.%s.modules.t2 import T2' % request.application)
which does the same things....

I'm not sure we couldn't (now) just have a top-level "modules" directory;
 does anyone see any reason we couldn't (if we wanted to) do something like:

from modules.t2 import T2

?

Let me know if this helps.
Regards,
Yarko

On Sun, Dec 14, 2008 at 4:23 PM, Peter <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to