I think the docs are a little out of sink with where pylons is at the moment. Earlier versions of pylons imported a lot of stuff into the helpers file so they were there by default, which is reflected in the docs. Now however, your expected to import what you need, being explicit rather then implicit. Having said that I know the docs are a little out of since and thats really frustrating with new users. Read the section on upgrading http://pylonshq.com/docs/en/0.9.7/upgrading/ its pretty informative.
Jose edgarsmolow wrote: > I recently began development with Pylons 0.9.7. The online docs > suggest using a function called url_for that should be in > myproject.lib.helpers.py. But, the file is essentially empty. > > Is helpers.py supposed to come with any functions at all, or are we > supposed to write url_for (and any others mentioned in the docs)? > > Thanks. > Edgar > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
