Kevin Dangoor <[EMAIL PROTECTED]> writes:
> Which config file did you change? (I'm puzzled as to why I didn't see
> this problem...)
Just dev.cfg:
(it was)
[/static]
staticFilter.on = True
staticFilter.dir = "static"
(it became)
[/static]
staticFilter.on = True
staticFilter.dir = "/srv/www/latam/site_amostras/static"
> Anyhow, with our new pythonic config files, the static directory
> reference can change to
> os.path.abspath(pkg_resources.resource_filename("mypackage", "static"))
>
> which works in development and when you deploy an egg. Yay, Python!
It will be good! Is there some tool to convert existing files to the Python
equivalent? (OK, I can generate a new project and copy them... I'm just
being lazy... Don't waste time on that if there's nothing...)
--
Jorge Godoy <[EMAIL PROTECTED]>