{% if toolbar.should_render() %} {% set exception=toolbar.request_exception() %}
{{ toolbar.version }} {% if request.impersonator is defined %}
Impersonating {{ request.user }}
{% endif %}
{% include "querystats/toolbar.html" %}
Admin {% if object|default(false) and object|get_admin_model_detail_url %} {% endif %} {% include "toolbar/links.html" ignore missing %}
{% if exception %}
Exception {{ exception }}
{{ exception._traceback_string }}
{% endif %} {% for k, v in toolbar.metadata.items() %} {% endfor %}
{{ k }} {{ v }}
{% if object|default(false) %}
{{ object.__repr__() }}
{% endif %}
{% endif %}