摘要: 前台用 get 或 post 方法向后台提交一些数据。 GET方法: html示例(保存在templates文件夹中): 网页的值传到服务器是通过 <input> 或 <textarea> 标签中的 name 属性来传递的。 request.GET 可以看成一个字典,用GET方法传递的值都会保存到其 阅读全文
posted @ 2017-03-12 19:57 dear_diary 阅读(422) 评论(0) 推荐(0) 编辑