[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">
๐Ÿ‘คBob Jansen

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