On 10/6/05, forgems <[EMAIL PROTECTED]> wrote: > > But there is a problem, before py:extends expression there is no > dictionary with variables, so I can't get the layout for the current > user. Every user can choose his own layout and the layout is assigned > to the user.
You could put the layout value into the request or response, since those are per-user. Either that or you can set up your own threadlocal value somewhere. Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

