How about adding "qualified=True" to the arguments for url_for()?

On Tue, Oct 14, 2008 at 8:45 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> I have a template snippet that i use to render a list or urls. I use
> the snippet both to display the links on a page and in an email.
> The email obviously needs to have an absolute url to find it's way
> back tot the server. I have been looking at h.url() and url_for()
> which give me most of the link. I can also see that the host and port
> are in the development.ini but i cannot find a way to access them
> without having a duplicate in app:main.
>
> I know there must be a simple and elegant way to generate absolute
> urls but i can't find it.
> Can anyone point me in the right direction?
>
> thanks
>
> toby
> >
>

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