2024年2月26日
摘要: 【三板斧介绍】 1 用来处理请求的视图函数都必须返回HttpResponse对象 完全正确!!! 2 diango视图函数里面返回值不用三板斧必报错 HttpResponse,render,redirect 3 查看3个的源码发现 HttpResponse是一个类 render是一个函数 4 5 6 阅读全文
posted @ 2024-02-26 20:24 认真的六六 阅读(24) 评论(0) 推荐(0)