Helpers stuff is very much in flux in pylons at the moment. The earlier decicision was not to support or encourage the use of helpers, because a lot of the rails style stuff was kind of anti-web-standards. B
Of course if you want to add helpers.py and setup your base controller to pass h into the template, that's totally fine. Very likely we will put helpers in as helpers not as h if we do include helpers support into tg2. I'm flexible on all of this, but that was the concensus when we last discussed this at a sprint. And given the work done on WebHelpers by Mike Orr, Ben, and others at the Python sprint , I think it's very likely that we'll change our minds on this, and I think we would likely be happy to see a patch that includes helpers into the template when the new version of WebHelpers is out.) --Mark Ramm On Fri, Apr 4, 2008 at 7:38 PM, Devin Torres <[EMAIL PROTECTED]> wrote: > > Seriously guys, it's still empty... > > > > On Wed, Apr 2, 2008 at 4:29 PM, Devin Torres <[EMAIL PROTECTED]> wrote: > > Just created two new projects, in both of them helpers.py was empty, > > and the h object wasn't recognized in templates: > > > > > http://trac.turbogears.org/browser/trunk/tg/templates/turbogears/%2Bpackage%2B/lib/helpers.py_tmpl > > > > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
