Search code examples
pythondjangodjango-templatesdjango-staticfiles

My static files in django are not getting reloaded unless i rename them every time i reboot my pc


I am trying to work on a django project which has static files. Every time I reload my pc and make some changes in the static files those changes don't get applied. Then i rename that static file and also change the static url in my template..Then the change takes place..How can i solve this..


Solution

  • Clear your browser cache, and next time onwards when you made any changes to static files, do Ctrl + Shift + R to ignore previous cached content.