2π
β
I fixed it by clearing the cache in my browser. The blog.css from the cache is not found anymore.
π€Ken Flake
9π
to test the changes of css or js or any such static files follow any preferred approach listed below
Simple way of approach:
- Refresh tab by pressing (Ctrl + F5) instead of only using F5
- Open private window or incognito window and run the website
- Clear browser cache
- Try to use different browser (prefer a browser which wasnβt used to open the site or having cache of the site)
- Disable Cache while developer tools are open: follow steps in this answer
π€Gahan
- [Django]-Invalid BACKEND error when I have the seemingly correct settings β why?
- [Django]-Why can't Fabric fabfile see Django settings?
- [Django]-File Upload in Django modelForm
- [Django]-Twilio β generate 6 digit random numbers
- [Django]-Django with django-nose: two identical settings files with different behavior in running test command
4π
That happened to me before, it just took time and reloading the server for the changes to occur, try changing your browser to see if the CSS
is gone by now. Django uses caching in browsers to load faster. To resolve the problem you must clear the cache.
π€Ryan
- [Django]-Django: export current queryset to csv by button click in browser
- [Django]-Why is django.test.client.Client not keeping me logged in
0π
As mentioned in other answers, the "cache files" seem to be the problem. Try removing the cache (I havenβt tried this).
You could also change the name of the CSS file to something other than the old name. This worked for me.
- [Django]-Migrating from auth.User to custom user model. Groups and permissions are always empty
- [Django]-405 POST method no allowed on heroku with django
- [Django]-Django crispy-forms dynamic label_class and field_class
Source:stackexchange.com