We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdcdc6 commit 25d97a4Copy full SHA for 25d97a4
debug_toolbar/templates/debug_toolbar/panels/request_vars.html
@@ -14,11 +14,13 @@ <h4>{% trans 'View information' %}</h4>
14
<td>{{ view_func }}</td>
15
<td>{{ view_args|default:"None" }}</td>
16
<td>
17
- {% for k, v in view_kwargs.items %}
18
- {{ k }}={{ v }}{% if not forloop.last %}, {% endif %}
19
- {% empty %}
+ {% if view_kwargs.items %}
+ {% for k, v in view_kwargs.items %}
+ {{ k }}={{ v }}{% if not forloop.last %}, {% endif %}
20
+ {% endfor %}
21
+ {% else %}
22
None
- {% endfor %}
23
+ {% endif %}
24
</td>
25
</tr>
26
</tbody>
0 commit comments