Daniel,I was basically using a version of what is described here. Tried this a number of ways and basically, just found that this all works as long as you don't call and methods that have this decorator. Just documenting this here for future searches.
On Tue, Oct 13, 2009 at 11:01 AM, John Lorance <[email protected]>wrote: > Thanks. I think I saw bits and pieces of this information for 2.x. Don't > know how I missed this page. > > > On Tue, Oct 13, 2009 at 4:20 AM, Daniel Fetchinson < > [email protected]> wrote: > >> >> >> I've got a standalone application that loads data into my models that >> >> I am porting from TG1. However, I've just run into this error message: >> >> TypeError: No object (name: cache) has been registered for this thread >> >> >> >> ... due to my using the beaker_cache decorator from pylons. Is there >> >> a good reference for creating applications that run outside the >> >> standard web environment? >> >> (gmail seems to have messed up the links) >> >> For the tg1 see http://docs.turbogears.org/1.0/ModelOutsideTG and for >> tg2 there is http://turbogears.org/2.0/docs/main/Wiki20/page10.html >> >> >> HTH, >> Daniel >> >> >> -- >> Psss, psss, put it down! - http://www.cafepress.com/putitdown >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

