[Grok-dev] Re: absolute url for 'static' ?
Sebastian Ware
sebastian at urbantalk.se
Sun Apr 27 13:37:04 EDT 2008
I use subdirectories of the static directory to store files that are
uploaded by users. Is this a bad idea?
Mvh Sebastian
27 apr 2008 kl. 18.48 skrev Martijn Faassen:
> 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
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list