Re: Serving static files from another directory rather than "statics"

2014-07-08 Thread mulianto
Hi, Why not generate the new file under static folder. I use compressor but for big js css need time for generate the compress minify file when on production. Sent from my iPhone On 8 Jul 2014, at 10:35, carlos wrote: > Hi, maybe you need use this third party

Re: Serving static files from another directory rather than "statics"

2014-07-07 Thread Chen Xu
django-pipline looks good for me at first, and then I realize it copies both the minified files and the original files (which I dont want). That is why I wrote my own scripts. Thanks On Mon, Jul 7, 2014 at 10:35 PM, carlos wrote: > Hi, maybe you need use this third

Re: Serving static files from another directory rather than "statics"

2014-07-07 Thread carlos
Hi, maybe you need use this third party solution http://django-compressor.readthedocs.org/en/latest/ and other is https://django-pipeline.readthedocs.org/en/latest/ Cheers On Mon, Jul 7, 2014 at 5:58 PM, Chen Xu wrote: > Hi Everyone, > I am working on a site, under my

Serving static files from another directory rather than "statics"

2014-07-07 Thread Chen Xu
Hi Everyone, I am working on a site, under my project in my local environment, I have a directory called "static" (generated by django just like everyone else's) to server my js and css. I wrote a script which minify all the js and css files and copy them in a directory called "static_min" which