摘要: django的请求生命周期 : 每个请求都会经过中间件,如果请求在中间件中被打断,则不会走除中间件外的步骤.参考 https://www.cnblogs.com/wangtaobiu/p/10726332.html 阅读全文
posted @ 2019-04-17 21:59 屁桃 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一.什么是中间件 "Middleware is a framework of hooks into Django’s request/response processing. It’s a light, low-level “plugin” system for globally altering 阅读全文
posted @ 2019-04-17 21:29 屁桃 阅读(166) 评论(0) 推荐(0) 编辑