摘要: 通过Django来对数据库进行增删改查 1 首先创建类,在app应用程序里面的model模块里面创建类,写好数据库信息,方便我们待会初始化: 2 创建在django项目里面的settings里面添加app程序()在settings里面的INSTALLED_APPS里面) 3 python manag 阅读全文
posted @ 2016-07-03 17:57 温柔易淡 阅读(10652) 评论(0) 推荐(0) 编辑
摘要: What's CSRF attack ? CSRF(" Cross-site request forgery!" 跨站请求伪造) 用实例讲原理: 我们假设一个银行网站A,一个网站B,一个用户(受害人),一个黑客,银行网站的转账URL是 http://bank./transfer?account=Ma 阅读全文
posted @ 2016-07-03 17:55 温柔易淡 阅读(401) 评论(0) 推荐(0) 编辑
摘要: what is Exchanges ?? Let's quickly go over what we covered in the previous tutorials: A producer is a user application that sends messages. A queue is 阅读全文
posted @ 2016-07-03 17:40 温柔易淡 阅读(1148) 评论(0) 推荐(0) 编辑
摘要: (using the pika 0.10.0 Python client) In the previous tutorial we built a simple logging system. We were able to broadcast log messages to many receiv 阅读全文
posted @ 2016-07-03 17:28 温柔易淡 阅读(323) 评论(0) 推荐(0) 编辑