-1

I wrote css file and then save it all changes happen and when I run collect static command and then I again change css files no changes displayed on browser nothing happen at all.

  • Does this answer your question? [How to force Chrome browser to reload .css file while debugging in Visual Studio?](https://stackoverflow.com/questions/15562384/how-to-force-chrome-browser-to-reload-css-file-while-debugging-in-visual-studio) – Ivan Starostin Apr 10 '21 at 07:29

3 Answers3

0

It may be due to cache problem. So, you can try this on your browser which will reload from start:

Ctrl + R
Biplove Lamichhane
  • 3,995
  • 4
  • 14
  • 30
0

I would suggest to double check the settings.py if the STATICFILES_DIRS and STATIC_URL is declared there. An example below-

STATIC_URL = '/static/'
STATICFILES_DIRS = [
    'static',
]

MEDIA_URL = '/media/'
MEDIA_ROOT = 'media'

Then create a static folder and media folder where manage.py file is located. Then run the python3 manage.py collectstatic. Hope it works.

F A
  • 326
  • 2
  • 12
-1

It is due to catch problem.

ctrl +f5

Is the solution