On May 6, 2011, at 10:56 AM, Ross Peoples wrote: > Ignore the part about 'from gluon import current' not working in the models. > Restarting the web2py server fixed the problem. I may have forgotten to do > that after updating from trunk. > > But out of curiosity, is there a reason other model variables (auth, db, etc) > are showing up in current?
Only globals created in gluon are included, nothing from the model. Suggestion: let's create an empty current.application of type Storage that apps can store auth, db, etc in.