摘要: 视图层:三板斧问题,JsonResponse序列化,form表单上传文件,request对象的其他几个方法,CBV的书写和FBV的写法,CBV的源码分析.模板层:变量之分配,过滤器 ### 视图层 #### 三板斧问题 ```python """ httpResponse 返回字符串 render 返回html文件 redirect 重定向 return redirect('https:www.baidu.com/') 跳转别人的网址 return redirect('/hom 阅读全文
posted @ 2023-08-01 14:56 毓见 阅读(32) 评论(0) 推荐(0)