1

I'm having some issue with a django app and it's CSS file refreshing. Basically I can see that the changes I make in my file are identified and copied in the root folder of my website, however when I open up the web browser that change is not being displayed at all:

The style.css copied in the root folder

My style.css

My browser not picking up on the changes

I am using Firefox as a browser however this issue happens also on Chromium browser

Iustinian Olaru
  • 1,231
  • 1
  • 13
  • 33

1 Answers1

0

If you have setup everything well in your settings.py file then your best option is to disable caching form your developer panel. I had similar issues when I make changes in css and they are not updated when i refresh my browser. This is because the browser is keeping a cache of the css file and its not being updated for some reason.

So according to this post,you can disable caching

Ben Gab
  • 11
  • 2
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 09 '22 at 18:14