摘要:
一.flask-script 用于实现类似于django中python3 manage.py runserver 累死的命令 安装:pip3 install flask-script 使用 from flask_script import Manager app = Flask(__name__) 阅读全文
posted @ 2019-11-14 23:11
瓜落桥下塘
阅读(172)
评论(0)
推荐(0)
摘要:
一.请求上下文源码分析 第一阶段:将ctx(request,session)放到Local对象上 第二阶段:视图函数导入:request/session request.method -LocalProxy对象.method,执行getattr方法,getattr(self._get_current 阅读全文
posted @ 2019-11-14 00:07
瓜落桥下塘
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号