Hi,

I've recently added caching to my app using the beaker_cache decorator
to both controllers and normal methods (with cache_response=False).
My problem is that websetup now fails with the dreaded "No object
(name: app_globals) has been registered for this thread" error.

In my websetup I create the database and then populate it with base
data.
It is during the population that one of the beaker decorated methods
is called.

What is the correct way to solve this problem? Should I move the
population out of websetup? If I do how do I setup the environment
correctly so that caching is available?
Should I remove the decorator and do the caching myself?

Thanks for your help.

BEN

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to