Hi Massimo:
Thank you for all your help!!!
Now, I have other problem!!! When I modify the imported module, the
application use the old module, then I read that I can use:
reload(module)
But I received an error!!!
this is my code:
exec('from applications.blog.modules.modulotest2 import MyModulo')
reload(MyModulo)
This is the error:
reload(MyModulo)
TypeError: reload() argument must be module
Maybe I'm making something wrong, But I don't know what, can you help
me. Thank you!!!
Other question:
I read that you must not use reload() in production, because will take
more time to execute, I'm right?
But, for example if I make a forum module and I imported to my
application, and everything works fine, but then I update this forum
module, what I can do to make my application use the updated module
without reload?
Thank you!!!
Great Job Massimo!!! Web2py looks powerful!!!
Best Regards,
Victor.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---