2011/6/20 Manuele Pesenti <manuele.pese...@gmail.com>

> is it possible?
> using features nearly introduced and importing modules with
> import mymodules
>
> is it possible to have a reload of the modules just modified?
>
> thanks a lot
>
>        Manuele
>

Yes.

You can use the Python reload function.

Or you can use the date tracking feature of web2py that will check the date
of each module imported and import the last version automatically.

Put this code at the beginning of your models:

from gluon.custom_import import track_changes
track_changes()
-- 


A+

-------------
Pierre
My blog and profile
(http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com>
YouTube page 
(http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib>
Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>

Reply via email to