I've noticed that when i run python manage.py collectstatic --noinput
users start seeing scrambled pages. After following on this, i found out that during the process i get 404 on css files, hence the scrambled view.
I've read the docs on Heroku regarding maintenance mode and deploying process, and nothing indicates that i need to turn maintenance mode on when i do a deploy with collectstatic
.
The process of collecting static files is quite slow(~20 mins). I'm using django-pipeline
to minify and combine the static files (with hashes),and then upload them to Amazon S3.
Is this a normal behaviour? Or am i doing something wrong?
Is there any way to deploy, with collectstatic
, without taking the site down?