[Answered ]-Django static files – images detected but not css

1👍

It seems that the problem is in the link-tag. This

<link rel="stylesheet/less" type="text/css" 
     href="{{ STATIC_URL }}css/bootstrap.css">`

should be:

<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.css">

1👍

It’s also possible that your browser is simply caching the old css file – how it was before you made changes. Try clearing your browser’s cache or using a different browser and see if it makes a difference?

👤akhaku

Leave a comment