本flask源码分析不间断更新 而且我分析的源码全是我个人觉得是很beautiful的 1 flask-login 1.1 flask.ext.login.login_required(func),下面是它的文档的官方源码 def login_required(func): ''' If you decorate a view with this, it will ensure that the current user is logged in and authenticated before…