i.
I'd like to make session information available to templates.  i can't
figure out any way other than: "c.session = session"

ii.
Is there a way to put a hook into render() so i can call some specific
variable injections into c on each request?  or is there a different
idiomatic way to achieve this effect?

basically, on all calls to certain controllers -- which might
correspond to 10+ defs in the class -- i'll want to do a certain
variable setup.  i can't figure out how to do this other than creating
a function and placing it 10x.  i'd rather create a function and place
it in 1 hook.  i'm sure there's some way to do this... somwhere...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to