Is the problem with passing db to the module function? I got tripped up 
until I realized that "current" objects needed to be retrieved *within the 
function* (i.e., after "def myindex()"). Here you seem to be passing the 
"current" objects as arguments to the function. I don't know whether that 
works the same way or not.

Reply via email to