摘要: Django知识总结 1.路由规则: 2.视图函数: 请求相关的: request.method:获取请求方式 request.POST:获取post请求数据 响应相关: render HttpResponse redirect 3. 模板语言 if for 索引:. 执行:不加括号自动执行函数 f 阅读全文
posted @ 2017-11-02 15:31 妙香沫颜 阅读(122) 评论(0) 推荐(0) 编辑