>
> from gluon.custom_import import track_changes; track_changes(True)
>>
>>
>> statement before importing my modules, but is still need to restart 
>> Web2Py for every change in development mode. I don't know what I'm doing 
>> wrong here?
>>
>
> This is reportedly not working any more, though hasn't been investigated 
> or fixed yet.
>
> As for the rest, it's hard to say without seeing some code.
>
> Anthony
>

I can confirm that it's not working anymore...

About my second problem; you solved it without knowing :-)

I found a post on 
stackoverflow<http://stackoverflow.com/questions/11959719/web2py-db-is-not-defined>about
 accessing the db from a module, and a i read:

Note, if you do define the db object in the module, don't define it at the 
> top level -- define it in a function or class.


I added it in top of my modules, so that created my problems. Now it's 
working!

Thanks! 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to