xadmin部分的样式丢失
来源:8-2 热卖商品接口实现
小叶柏杉
2018-08-21
在本地运行没问题,放在linux服务器上,就出现xadmin部分样式丢失情况
路径已经更改了。
[21/Aug/2018 19:30:08] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7678 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.core.min.js HTTP/1.1" 404 126 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.widget.min.js HTTP/1.1" 404 128 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.mouse.min.js HTTP/1.1" 404 127 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.sortable.min.js HTTP/1.1" 404 130 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 404 124 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/selectize/selectize.min.js HTTP/1.1" 404 121 [21/Aug/2018 19:30:08] "GET /static/xadmin/vendor/select2/select2.min.js HTTP/1.1" 404 117 [21/Aug/2018 19:30:11] "GET /xadmin/user_operation/tags/ HTTP/1.1" 200 28633 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 132 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery/jquery.min.js HTTP/1.1" 404 115 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.core.min.js HTTP/1.1" 404 126 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.widget.min.js HTTP/1.1" 404 128 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.mouse.min.js HTTP/1.1" 404 127 [21/Aug/2018 19:30:11] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7678 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.sortable.min.js HTTP/1.1" 404 130 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 404 124 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.core.min.js HTTP/1.1" 404 126 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.widget.min.js HTTP/1.1" 404 128 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.mouse.min.js HTTP/1.1" 404 127 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.sortable.min.js HTTP/1.1" 404 130 [21/Aug/2018 19:30:11] "GET /static/xadmin/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 404 124 [21/Aug/2018 19:31:46] "GET /xadmin/user_operation/tags/ HTTP/1.1" 200 28633 [21/Aug/2018 19:31:46] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.sortable.min.js HTTP/1.1" 404 130
写回答
1回答
-
bobby
2018-08-23
你是怎么运行的? 是用nginx部署的还是用django的runsever 如果是runserver就不要关闭settings中的debug, 如果是nginx和uwsgi的部署 http://projectsedu.com/ 就看一下我这里的部署文章
022018-08-24
Python前后端分离开发Vue+Django REST framework实战
Django REST framework课程视频,RESTFul API前后端分离开发
2872 学习 · 2457 问题
相似问题