On Fri, 2011-01-07 at 11:28 +0100, Wichert Akkerman wrote:
> On 1/7/11 11:14 , Chris McDonough wrote:
> > On Fri, 2011-01-07 at 10:57 +0100, Wichert Akkerman wrote:
> >> On 1/7/11 10:08 , Stéphane Klein wrote:
> >>> Le 06/01/2011 14:50, Daniel Holth a écrit :
> >>>> Stephane,
> >>>>
> >>>> {{ request.registry.settings }}
> >>>
> >>> I haven't access to request object, here I'm at initialisation stage,
> >>> before
> >>
> >> Luckily pyramid has some lovely documentation for you:
> >> http://docs.pylonshq.com/pyramid/dev/api/threadlocal.html#pyramid.threadlocal.get_current_registry
> >
> > get_current_registry() doesn't work during the configuration phase (at
> > least it wont return anything sensible).
> 
> At the configuration phase you are likely to have 
> config.registry.settings if I remember correctly?

Yeah.  I'm not really sure where the issue is, I think I need it
explained more simply.

- C



-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to