On Thu, Aug 19, 2010 at 1:08 PM, Wyatt Baldwin
<[email protected]> wrote:
> On Aug 19, 11:27 am, Ryan <[email protected]> wrote:
>> For URL generation in email templates, I need absolute 
>> (e.g.http://mysitename/path) URLs, not relative (e.g. /path).
>>
>> How is this done?
>>
>> According to the docs, there's a `host` keyword arg for overriding the
>> default host. I don't want to override the default host, I just want
>> it to be used. Any insights?
>
> Use `url(/some/path, qualified=True)` ?

Yes, that's exactly what I had to do when generating an email message
containing links.

-- 
Mike Orr <[email protected]>

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