Python中国社区  »  问与答

static文件的url设置的问题

canpliy • 11 月前 • 447 次点击  

错误信息如下: 16/Dec/2016 19:36:22] "GET / HTTP/1.1" 200 12272 [16/Dec/2016 19:36:22] "GET /static/css/templatemo-style.css HTTP/1.1" 404 1685 [16/Dec/2016 19:36:22] "GET /static/js/jquery-1.11.0.min.js HTTP/1.1" 404 1682 [16/Dec/2016 19:36:22] "GET /static/css/font-awesome.min.css HTTP/1.1" 404 1685 [16/Dec/2016 19:36:22] "GET /static/css/animate.css HTTP/1.1" 404 1658 [16/Dec/2016 19:36:22] "GET /static/js/jquery-migrate-1.2.1.min.js HTTP/1.1" 404 1703 [16/Dec/2016 19:36:22] "GET /static/img/portfolio/5.jpg HTTP/1.1" 404 1670 [16/Dec/2016 19:36:22] "GET /static/js/custom.js HTTP/1.1" 404 1649 [16/Dec/2016 19:36:22] "GET /static/img/portfolio/1.jpg HTTP/1.1" 404 1670 [16/Dec/2016 19:36:22] "GET /static/js/plugins.js HTTP/1.1" 404 1652 [16/Dec/2016 19:36:22] "GET /static/img/portfolio/2.jpg HTTP/1.1" 404 1670 [16/Dec/2016 19:36:23] "GET /static/img/portfolio/3.jpg HTTP/1.1" 404 1670 [16/Dec/2016 19:36:23] "GET /static/js/bootstrap.js HTTP/1.1" 404 1658 [16/Dec/2016 19:36:23] "GET /static/img/portfolio/4.jpg HTTP/1.1" 404 1670

Django版本1.10 网页源代码中样式引用的路径显示正确 但就是报错 求各位大神解决一下

最后一次修改于 (2016-12-16 20:11)

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1742
 
447 次点击  
分享到微博
分享
社区所有版块导航
Python
python开源   Python   DjangoApp   pycharm   Django  
DATA
docker   Elasticsearch  
WEB开发
linux   NoSql   DATABASE   Bootstrap   Jquery   NGINX   js   Git   其他Web框架   peewee   bottle   web工具   IE   zookeeper   MongoDB   tornado   MQ   Redis  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广