1. 执行遵循wsgi协议的模块(socket服务端) 2.中间件(路由匹配) 3.视图函数(业务处理:ORM,模板渲染) 4.中间件 5.wsgi返回 转载于:https://www.cnblogs.com/pengpengge/p/9682428.html