<div class="djDebugPanelTitle">
	<a class="djDebugClose djDebugBack" href=""></a>
	<h3>SQL explained</h3>
</div>
<div class="djDebugPanelContent">
	<div class="djdt-scroll">
		<dl>
			<dt>Executed SQL</dt>
			<dd>{{ sql|safe }}</dd>
			<dt>Time</dt>
			<dd>{{ duration }} ms</dd>
			<dt>Database</dt>
			<dd>{{ alias }}</dd>
		</dl>
		<table class="djSqlExplain">
			<thead>
				<tr>
					{% for h in headers %}
						<th>{{ h|upper }}</th>
					{% endfor %}
				</tr>
			</thead>
			<tbody>
				{% for row in re