[Grok-dev] Re: absolute url for 'static' ?

Martijn Faassen faassen at startifact.com
Sun Apr 27 12:48:28 EDT 2008


Sebastian Ware wrote:
> 26 apr 2008 kl. 22.10 skrev Martijn Faassen:
>> In python code in a view, I think you can just do this:
>>
>> self.static['foo.css']()
> 
> I can confirm this, and some other useful stuff in case you want to to 
> some manipulation of files in the static directory...

Just to be clear: by manipulation you mean find more about them, not 
actually change their contents or create new ones. I'd really recommend 
against doing that.

Regards,

Martijn



More information about the Grok-dev mailing list