Re: [pylons-discuss] Stupid noob question on Pyramid running under IIS.

2014-10-14 Thread joe
Thanks Michael! I really appreciate it. I was able to get the sample working with your help. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [pylons-discuss] Pyramid + ZODB persistent registry

2014-10-14 Thread Thierry Florac
Hi, For your information, this is the code I've produced to use local components registry: @subscriber(ContextFound) def onContextFound(event): context = event.request.context if ISite.providedBy(context): pyramid.threadlocal.manager.push({'registry': context.getSiteManager(),

Re: [pylons-discuss] Pyramid + ZODB persistent registry

2014-10-14 Thread Chris McDonough
On 10/14/2014 06:28 PM, Thierry Florac wrote: Hi, For your information, this is the code I've produced to use local components registry: @subscriber(ContextFound) def onContextFound(event): context = event.request.context if ISite.providedBy(context):