Mark Ramm wrote: > My opinion is we should not introduce a one-letter variable after > working hard to get pylons to remove them. > > So, we should use tmpl_context.widgets rather than tmpl_context.w > > http://trac.turbogears.org/ticket/1797 > > Any objections to changing this in trunk? If none are raised by > friday, I'll make the change prior to this weekend's sprints. > > Even better: TW doesn't need widgets to be passed in a special attribute of the template context (to pick up their resources) anymore. As long as its middleware is configured like shown here [1] (with the 'inject_resources' flag on) there's no need for 'w' or 'widgets' to be polluting tmpl_context.
Alberto [1] http://beta.toscawidgets.org/documentation/ToscaWidgets-0.8/install.html#integration-into-a-wsgi-app --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
