Mark Ramm wrote: > > if tg.config.use_toscawidgets: > import tw > tw.framework.default_view = tg.config.tw.framework.default_view > > > Makes sense, though you only want to do the import once, not on each > request. ;) It's safe to do that on every request since that attribute is a descriptor that stores the value you set in thread-local storage.
Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to turbogears-trunk@googlegroups.com To unsubscribe from this group, send email to turbogears-trunk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---