django部署到linux上不显示.svg图标处理方法

在setting文件的最开始添加如下内容: 
import mimetypes 
mimetypes.add_type("image/svg+xml", ".svg", True) 
mimetypes.add_type("image/svg+xml", ".svgz", True) 

原文地址:https://www.cnblogs.com/qiangayz/p/9206445.html