摘要: 1.模板的参数传递 存在demo1.html如下 <p>my name is {{name}}</p> 对应的views写法如下 def muban(requests): context={} context['name']='alan' return render(requests,'demo1. 阅读全文
posted @ 2019-12-11 09:28 Alantammm 阅读(121) 评论(0) 推荐(0) 编辑