Standardized formatting in technical 500 template.
Prefer use of `k` and `v` instead of `var.0` and `var.1`.
Fixed indentation of #files-info block to match adjacent blocks.
@@ -390,6 +390,7 @@ Exception Value: {{ exception_value|force_escape }}
{% else %}
<p>No POST data</p>
{% endif %}
+
<h3 id="files-info">FILES</h3>
{% if request.FILES %}
<table class="req">
@@ -412,7 +413,6 @@ Exception Value: {{ exception_value|force_escape }}
<p>No FILES data</p>
{% endif %}
-
<h3 id="cookie-info">COOKIES</h3>
{% if request.COOKIES %}
<table class="req">
@@ -444,10 +444,10 @@ Exception Value: {{ exception_value|force_escape }}
</tr>
</thead>
<tbody>
- {% for var in request_meta.items|dictsort:0 %}
+ {% for k, v in request_meta.items|dictsort:0 %}
<tr>
- <td>{{ var.0 }}</td>
- <td class="code"><pre>{{ var.1|pprint }}</pre></td>
+ <td>{{ k }}</td>
+ <td class="code"><pre>{{ v|pprint }}</pre></td>
</tr>
{% endfor %}
</tbody>
@@ -466,10 +466,10 @@ Exception Value: {{ exception_value|force_escape }}
</tr>
</thead>
<tbody>
- {% for var in settings.items|dictsort:0 %}
+ {% for k, v in settings.items|dictsort:0 %}
<tr>
- <td>{{ var.0 }}</td>
- <td class="code"><pre>{{ var.1|pprint }}</pre></td>
+ <td>{{ k }}</td>
+ <td class="code"><pre>{{ v|pprint }}</pre></td>
</tr>
{% endfor %}
</tbody>
