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

Michael Haubenwallner michael at d2m.at
Mon Apr 28 02:22:35 EDT 2008


Martijn Faassen schrieb:
> 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.
> 

I suggest adding all or a few of the patterns Sebastian submitted to the 
'static content' section in your Grok_overview.txt[1]

Thanks,
Michael


[1] http://svn.zope.org/*checkout*/grok/trunk/doc/grok_overview.txt

-- 
http://www.zope.org/Members/d2m
http:/planetzope.org


More information about the Grok-dev mailing list