>>> Is there a method to retrieve url paths to controllers or i'll have to
>>> hardcode them in my jinja templates?
>>>
>>> In Django, i have the method reverse and the tag {% url %} for
>>> retrieving those.
>
> Daniel Fetchinson schrieb:
>> With tg1 you can use the tg.url( ) function in your templates.
>
> How would that help? This function is only there to contruct URLs which
> are independent of where the *whole* application is mounted.Oooops, you are right. For some reason I assumed tg.url( ) does know where the root controller is mounted, the reason I haven't noticed that this assumption is wrong is that all my applications are mounted at the top level. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown -- 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.

