参考:https://www.cnblogs.com/shizhengwen/p/6622071.html
找到django的安装目录,修改admin/base.html文件可以解决
D:\Program Files\Anaconda3\Lib\site-packages\django\contrib\admin\templates\admin
解决方法:
1、删除base.html头部中 <!DOCTYPE html>
2、添加<meta http-equiv='Content-type' content='text/html'>
注意:第二步可以不用添加,不过建议添加。