上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: http://blog.csdn.net/u013904605/article/details/48006393 阅读全文
posted @ 2017-09-23 09:39 shy车队破风手 阅读(125) 评论(0) 推荐(0) 编辑
摘要: requests Python标准库中提供了:urllib、urllib2、httplib等模块以供Http请求,但是,它的 API 太渣了。它是为另一个时代、另一个互联网所创建的。它需要巨量的工作,甚至包括各种方法覆盖,来完成最简单的任务。 Requests 是使用 Apache2 License 阅读全文
posted @ 2017-08-28 21:47 shy车队破风手 阅读(247) 评论(0) 推荐(0) 编辑
摘要: RSA(加密的内容有长度限制) AES 阅读全文
posted @ 2017-08-01 15:34 shy车队破风手 阅读(266) 评论(0) 推荐(0) 编辑
摘要: from django.shortcuts import render, redirect,HttpResponse from app01 import models from rbac.service import initial_permission import datetime import 阅读全文
posted @ 2017-07-26 19:55 shy车队破风手 阅读(140) 评论(0) 推荐(0) 编辑
摘要: <div> <div><span class="glyphicon glyphicon-search" aria-hidden="true"></span> 搜索条件</div> <div class="condition"> 大分类: {% if kwargs.article_type_id == 阅读全文
posted @ 2017-07-23 14:33 shy车队破风手 阅读(210) 评论(0) 推荐(0) 编辑
摘要: KindEditor 防止xss注入: content = """ <p id='i1' a='123' b='999'> <script>alert(123)</script> </p> <p id='i2'> <div> <p>asdfasdf</p> </div> <img id='i3' s 阅读全文
posted @ 2017-07-20 00:09 shy车队破风手 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 需要导入字体插件: from PIL import Image,ImageDraw,ImageFont,ImageFilter import random def rd_check_code(width=120, height=30, char_length=5, font_file='kumo.t 阅读全文
posted @ 2017-07-19 19:50 shy车队破风手 阅读(305) 评论(0) 推荐(0) 编辑
摘要: <div class="art_info clearfix"> <div class="left up_down"> <div class="up" onclick="info_post(this)"> <div><i class="fa fa-thumbs-up" aria-hidden="tru 阅读全文
posted @ 2017-07-19 19:37 shy车队破风手 阅读(210) 评论(0) 推荐(1) 编辑
摘要: 基本应用 三种传递csrf的方法,一表单提交,二ajax提交,三ajax提交隐藏的csrf input标签中的值 csrf禁用 添加csrf装饰器: 阅读全文
posted @ 2017-07-02 22:37 shy车队破风手 阅读(218) 评论(0) 推荐(0) 编辑
摘要: M2M自关联特性: FK自关联: 中间件 - 应用:对所有请求或一部分请求做批量处理 中间件的分类和执行顺序: process_request 如果有返回值,1.10版本以后就从当前中间件执行process_response,1.10版本以前,从最后一个中间件执行process_response p 阅读全文
posted @ 2017-07-02 22:02 shy车队破风手 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页