#1097: Add variables to template root, not just in tg. namespace
-------------------------+--------------------------------------------------
Reporter: arnarbi | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: CherryPy | Version: 0.9a6
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Sometimes you want to add generic template variables to the root of the
template context, for all views. Templates can be added to the tg.
namespace by appending a callable to turbogears.view.variable_providers -
it would be nice to be able to do something similar to add variables to
the root of the context.
See attached patch for the general idea..
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1097>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---