On Mon, Nov 19, 2012 at 1:40 AM, Javier Barrio <[email protected]> wrote: > Hi, > > I've been playing a little bit with the framework .I was trying to separate > some stuff when I found something weird. Something that I am sure has an > explanation. I did try this: > > [main.py] > #!/usr/bin/env python > import web > render = web.template.render('templates/') > web.ctx.render = render > [...]
web.ctx is thread local context. It is meant for storing stuff that is local to one request. Anand -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
