logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【django】框架的(static)静态django文件配置

?HttpResponse主要用于返回字符串类型的数据def index(request):return HttpResponse('index页面')在页面中就会显示 index页面render主要用于返回html文件 并且支持模板语法(django自己写的)在浏览器中输入http://127.0.0.1:8000/index/后,会返回index.html页面。def index(reques

#python#virtualenv#tornado +2
到底了