Alberto Valverde wrote: > You can add whatever variables your app needs to the template > namespae by appending a function to view.variable_providers
I know, but my thought was that the path is so universally important that it should be really among the "standard" vars. I don't think all users are aware that 1) the path is available via charrypy.request.path and 2) you can supplement the standard vars. They may think they have to pass the page manually or add special decorators: http://www.mail-archive.com/[EMAIL PROTECTED]/msg25527.html So I think it makes sense to have the request path (and the template path) available in the template by default already. -- Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
