Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Production - collectstatic each time?

I'm running a Django production server with WSGI & Apache.
I'm wondering if I have to run a collectstatic each time I modify a little static file.
Isn't there a way to let WSGI or whichever program automate this process ?

like image 243
Pierre de LESPINAY Avatar asked Oct 09 '22 16:10

Pierre de LESPINAY


1 Answers

I use fabric to automate deployment and as one of the steps i just run collectstatic.

like image 54
jawache Avatar answered Oct 12 '22 10:10

jawache