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..
Asked
Active
Viewed 185 times
-1
-
HI Pranil, did you tried restarting your Django server? – Abhishek Patel Aug 05 '20 at 10:45
-
yes i did that.. – Aug 05 '20 at 10:50
-
looks like cache issue, try clearing cache or open in incognito mode – Jaydeep Aug 05 '20 at 10:58
-
opening in incognito mode does solve the issue but i have to login again...Is there a way that doesn't involve logging again..@zero – Aug 05 '20 at 11:11
1 Answers
0
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.

Jaydeep
- 775
- 2
- 8
- 14
-
i am very sorry sir i did upvote your answer but since my reputation is less than 15 it isn't shown publicly – Aug 06 '20 at 11:49