John_Nowlan <[EMAIL PROTECTED]> writes:

> FINALLY! I found it. h.url_for() really comes from the routes module
> which is in the reference docs and is documented there, but how am I
> supposed to know this without going through this tortuous path?
> Aren't docs supposed to help alleviate the need to go to the source?

In `paster shell`, in a template, or in a controller action, you can
do:

  print h.url_for.__module__

The best thing is to install ipython and to do:

  h.url_for?

and if it's not enough, do

  h.url_for??

-- 
Yannick Gingras

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