omicron Thu, 09 Feb 2012 07:30:24 -0800
With the last version, you can do this : from gluon import current
dba = current.globalenv['db']