I just have this snippet as the first code (after imports) in my models/db.py:
from gluon.custom_import import track_changes track_changes(True) I don't use the condition that is recommended: if request.is_local: I seem to remember having trouble when that condition was present. So I just remember to comment out the two lines when I move the app to production. (These problems may also have disappeared. It was a while ago.) Maybe also try reloading routes (from the admin dashboard)? I'm not sure if that would be necessary or not. Ian On Wednesday, June 26, 2013 5:29:24 PM UTC-4, jc wrote: > > I have a model file which contains > > from gluon.custom_import import track_changes; track_changes(True) > > When I change a module file in the applications/app/modules directory, the > changes don't appear. I have to kill and restart web2py to get the changes. > > Seems a simple recipe to follow from Chapter 4 of the book. Can anybody > advise me what I am doing wrong? > > Thanks. > > -- --- 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.