{% load switchuser %} {% if not su_state %}
Error: the su_state context processor was not found. Is "django_switchuser.context_processors.su_state" in your list of TEMPLATE_CONTEXT_PROCESSORS?
{% else %} {% if su_state.is_active %}Currently logged in as: {% su_user_short_label su_state.active_user %}
{% endif %} {% include "su/logout_form.html" %} {% endif %}