Reputation: 6865
I need to know if I can "re-collectstatic files" with django static?, for error I deleted a static directory now, I'm trying collectstatic one more time and nothing happen..
Any idea?
Upvotes: 4
Views: 3545
Reputation: 31
This will clear current files in the static directory and then collect static.
python manage.py collectstatic --clear
Upvotes: 1
Reputation: 6331
I come here to see whether I can re-collectstatic without type 'yes'.
Finally, I find it just have to add --no-input
python manage.py collectstatic --no-input
Upvotes: 2