Indi
Luenci的技术博客 luenci.com

render 方法参数 request : 是一个固定参数。 template_name : templates 中定义的文件, 要注意路径名. 比如 ’templates\polls\index.html’ , 参数就要写 ‘polls\index.html’ context : 要传入文件中用于渲染呈现的数据, 默认是字典格式 content_type : 生成的文档要使用的MIME 类型。默…

讨论

还没有评论,来说第一句吧。

Luenci的技术博客 的其他文章