In web2py apps should packable separately therefore each app should contain
the files it needs. You can symlink the static folders to pretend you have
two when you infact you have one.
On Tuesday, 4 September 2012 07:03:42 UTC-5, Jemes Hsu wrote:
>
> What's the best way to share static files between apps?
>
> Let say I have 'wiki' and 'blog' applications both using the same css:
>
> \applications
> \wiki
> \blog
> \static
> \css\bootstrap.min.css
>
> if the css file is within an app I just use
> URL('static','css/bootstrap.min.css') to get the css file. What should be
> the URL() let say the css file is outside of app folders like in above?
>
>
>
--