This solution will do. Thanks

On Tuesday, September 4, 2012 8:46:44 PM UTC+8, Anthony wrote:
>
> Another option is to keep the shared static files in one of the apps and 
> just have URLs from the other app point there (e.g., if you have 
> /wiki/static/css/styles.css, in the blog app, use URL('wiki', 'static', 
> 'css/styles.css')).
>
> Anthony
>
> On Tuesday, September 4, 2012 8:03:42 AM UTC-4, 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?
>>
>>
>>

-- 



Reply via email to