> from gluon import *
> def myfunction():
>     foo = current.foo

Great, good to know... How do I apply this to current.cache though?
Sounds to me this automatically means I can't use the @cache(...)
decorator outside of a controller (Python just barfs at
@current.cache(...)). I guess I could still use the version which
takes a lambda but can you confirm I am not missing something?

Thanks for your help...

Reply via email to