您的位置: 首页 > IT文章 > TypeError: 'bool' object is not callable g.user.is_authenticated() TypeError: 'bool' object is not callable g.user.is_authenticated() 分类: IT文章 • 2023-10-26 17:44:42 此问题查了*后知道is_authenticated是一个属性而不是一个方法所以g.user.is_authenticated() 用法会报错