梦见世界

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年8月18日

摘要: 译文源地址:http://www.cnblogs.com/ziyunfei/archive/2012/11/16/2772729.htm 感谢翻译原文:http://www.telerik.com/automated-testing-tools/blog/eric-lawrence/12-11-06... 阅读全文
posted @ 2015-08-18 17:08 梦见世界 阅读(90) 评论(0) 推荐(0) 编辑

摘要: 1.request,responsehttps://docs.djangoproject.com/en/1.8/ref/request-response/ 阅读全文
posted @ 2015-08-18 16:13 梦见世界 阅读(166) 评论(0) 推荐(0) 编辑

摘要: 1. URI绝对地址:2.http 内容压缩 方法: 阅读全文
posted @ 2015-08-18 15:58 梦见世界 阅读(128) 评论(0) 推荐(0) 编辑

摘要: #创建或修改session:request.session[key]=value#获取session:request.session.get(key,default=None)#删除sessiondelrequest.session[key]#不存在时报错 阅读全文
posted @ 2015-08-18 15:45 梦见世界 阅读(178) 评论(0) 推荐(0) 编辑

摘要: .gitignore 配置文件用于配置不需要加入版本管理的文件,配置好该文件可以为我们的版本管理带来很大的便利,以下是个人对于配置 .gitignore 的一些心得。1、配置语法: 以斜杠“/”开头表示目录; 以星号“*”通配多个字符; 以问号“?”通配单个字符 以方括号“[]”包含单个字符... 阅读全文
posted @ 2015-08-18 15:15 梦见世界 阅读(100) 评论(0) 推荐(0) 编辑

摘要: Form.as_p() :as_p()renders the form as a series oftags, with eachcontaining one field: 把form中的每项内容放置在标签中Form.as_ul():renders the form as a ser... 阅读全文
posted @ 2015-08-18 11:26 梦见世界 阅读(153) 评论(0) 推荐(0) 编辑

摘要: https://docs.djangoproject.com/en/1.8/ref/forms/widgets/Built-in widgets¶Django provides a representation of all the basic HTML widgets, plus some com... 阅读全文
posted @ 2015-08-18 10:31 梦见世界 阅读(196) 评论(0) 推荐(0) 编辑