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 %}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 %}Create a free account to access the full topic