On Mar 16, 2009, at 2:06 PM, 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)?


The official docs here: http://pylonshq.com/docs/en/0.9.7/ don't refer  
to url_for anywhere. The articles on the cookbook and also the online  
copy of the book may be a little out of sync and still refer to  
url_for/h.url_for. url_for still works, but the pylons.url global is  
preferred.

--
Philip Jenvey

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to