You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like is_authenticated = bool(user.is_authenticated) should do the trick.
It looks like is_authenticated is a lazily evaluated value, or something odd which is trying to enable both a property getter and a method call on the same property. In effect, the JSON serialiser doesn't know to derive a primitive value from CallableBool instances.
how do I pass in a boolean? this is the code:
The text was updated successfully, but these errors were encountered: