Closed sigezhao closed 1 year ago
[15/Jul/2023 23:20:45] "GET /admin/ HTTP/1.1" 302 0 [15/Jul/2023 23:20:45] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /favicon.ico HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179
解决了。没有用docker部署,需要先执行python manage.py collectstatic,然后settings.py文件中设置DEBUG = True
[15/Jul/2023 23:20:45] "GET /admin/ HTTP/1.1" 302 0 [15/Jul/2023 23:20:45] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:45] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179 [15/Jul/2023 23:20:46] "GET /favicon.ico HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:49] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 4031 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/fontawesome-free-6.2.0-web/css/all.min.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/css/login.css?=2.1 HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/elementui/index.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/elementui/theme-chalk/index.css HTTP/1.1" 404 179 [15/Jul/2023 23:20:50] "GET /static/admin/simpleui-x/js/vue.min.js?=2023.03.01 HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/js/login.js?=3.3 HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/particles/particles.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/particles/app.js HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/img/logo.png HTTP/1.1" 404 179 [15/Jul/2023 23:20:51] "GET /static/admin/simpleui-x/img/bg.svg HTTP/1.1" 404 179