How to Clear the Production Server Cache for Django?

Modified any CSS in Django files in Production Server. And that is not reflecting into the server. Please Clear the cache and run the server. Hope this will work.

Execute the below command,

$ python manage.py collectstatic --noinput --clear

Now run the server

python manage.py runserver

Leave a Comment