CSS not loading wrong MIME type Django

后端 未结 5 2046
星月不相逢
星月不相逢 2020-12-03 21:59

I have installed virtualenv in my localhost to run a django app with 1.8 version but when running it the css and js files doesn\'t load.

I get

Resour         


        
5条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 22:31

    If you're using Centos and having similar issues (mine were with svgs) then you might need to install the mailcap package if it doesn't exist (as per this answer).

提交回复
热议问题