阅读背景:

TypeError: 'bool' object is not callable g.user.is_authenticated()

来源:互联网 

此问题查了stackoverflow后知道is_authenticated是一个属性而不是一个方法所以g.user.is_authenticated() 用法会报错此问题查了stackoverflow后知道is_authenticated是一个属性而不是一个




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: