Simply "/static/css/abc.css" works for me in all environments.
However, to be more robust, I think we should be using tg.url("/static/
css/abc.css") .

Sanjay

On Nov 18, 1:35 am, jlar <[EMAIL PROTECTED]> wrote:
> Hi people,
>
> I was wondering how you handle different paths (including hostnames)
> for css and javascript files for development and production setups. Do
> you specify the paths in dev.cfg/prod.cfg and pass them to your Genshi/
> Kid templates or do you specify them directly in the Genshi/Kid
> templates and import turbogears.config into the templates? Or do you
> do it in yet another way?
>
> Examples would be very nice.
>
> Best regards,
> Jesper
--~--~---------~--~----~------------~-------~--~----~
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