上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页
摘要: next_url = request.path_info print(next_url) print(request.get_full_path()) //打印出全路径(路径和参数) print(request.path_info) //取当前请求的路径 阅读全文
posted @ 2019-04-24 21:24 大西瓜Paul 阅读(6700) 评论(0) 推荐(0) 编辑
摘要: 1. Cookie 和 Session 1.1Cookie Cookie的由来? 因为HTTP请求是没有状态的,每一次请求都是独立的(对于服务端来说 一切都只如初见!) Cookie是什么? 就是保存在浏览器上的键值对 服务端控制着响应,在响应里可以让浏览器在本地保存(键值对)Cookie 下一次请 阅读全文
posted @ 2019-04-24 20:54 大西瓜Paul 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-23 22:48 大西瓜Paul 阅读(544) 评论(0) 推荐(0) 编辑
摘要: Flask-SQLAlchemy - pip install flask_sqlalchemy - pip install mysqlclient 阅读全文
posted @ 2019-04-23 22:15 大西瓜Paul 阅读(257) 评论(0) 推荐(0) 编辑
摘要: flask.Blueprint.errorhandler flask.Flask.errorhandler flask.Blueprint.app_errorhandler 阅读全文
posted @ 2019-04-23 21:59 大西瓜Paul 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Flask内置集成了logger debug mode:off 为生产环境,一般只输出error级别的,不输出info 和 debug级别 本地环境,可设置为debug模式 阅读全文
posted @ 2019-04-23 21:53 大西瓜Paul 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 蓝图 阅读全文
posted @ 2019-04-23 21:44 大西瓜Paul 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 链接管理器 url_for 版本管理 阅读全文
posted @ 2019-04-23 21:43 大西瓜Paul 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 1.关闭防火墙,即可由本地访问虚拟机上启动的5000端口服务, 2.设置外部可访问 阅读全文
posted @ 2019-04-23 21:16 大西瓜Paul 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 1.创建虚拟环境 2.设置pip的国内源,加快下载速度(windows环境下) 在win10当前用户目录C:\Users\mengbao下新建pip文件夹,创建文件pip.ini 阅读全文
posted @ 2019-04-23 21:05 大西瓜Paul 阅读(668) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页
/*增加返回顶部按钮*/ 返回顶部 /*给标题增加蓝色背景长条*/