📅  最后修改于: 2022-03-11 14:55:26.040000             🧑  作者: Mango
TypeError: 'bool' object is not callable
"object is not callable" error occurs when you are trying to behave an object like it is a method or function.
current_user.is_authenticated()
you are behaveing current_user.is_authenticated as a method but its not a method .
you have to use it in this way :
current_user.is_authenticated