In http://web2py.com/books/default/chapter/29/4#Accessing-the-API-from-Python-modules:
Global variables instead are defined only once when the model is imported for the first time. Should read when the *module* is imported for the first time On Friday, May 18, 2012 4:34:40 PM UTC-4, Anthony wrote: > > Yes, that would be nice. For now, you can report here. > > Anthony > > On Friday, May 18, 2012 4:31:45 PM UTC-4, Yarin wrote: >> >> I see no obvious place to report book errors/corrections. There should be >> a link in the book itself. > >