Accessing the user

Report a typo

The user variable is passed to the template. What will be the output if the .is_active attribute is not defined?

{% if user.is_active %}
    online
{% else %}
    offline
{% endif %}
Select one option from the list
___

Create a free account to access the full topic