hi all,

i read a fair number of documentation and source, but i am still
unable to create a thread-local object à la response myself.

as far as i understand, it is necessary to use the paste
StackedObjectProxy thing. there is an example in the docs but i
haven't managed to get it working.

is there an easy-to-understand example somewhere from that i can learn
how to create an object that is available from controllers (i'd put it
into base.py) and is specific to the request? of course i can simply
instantiate self.x = X(request) within base.py/
BaseController.__init__(), but then i still have to say self.x in
order to retrieve it.

thanks,

_wolf


--~--~---------~--~----~------------~-------~--~----~
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