Sergei Beilin schrieb:
> Hi Diez.
> 
>> What's your actual use-case?
> 
> Sometimes I want to generate full URLs (for rss/atom feeds, etc.) when
> the controller could be plugged in different locations.

You could pass the base URL where the controller is mounted to its 
constructor and safe it in an instance attribute.

Chris

--

You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.


Reply via email to