在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
在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