Skip to content

Commit

Permalink
Fixed to maintain Django 1.0 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Feb 26, 2010
1 parent ebdcdc6 commit 25d97a4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions debug_toolbar/templates/debug_toolbar/panels/request_vars.html
Expand Up @@ -14,11 +14,13 @@ <h4>{% trans 'View information' %}</h4>
<td>{{ view_func }}</td>
<td>{{ view_args|default:"None" }}</td>
<td>
{% for k, v in view_kwargs.items %}
{{ k }}={{ v }}{% if not forloop.last %}, {% endif %}
{% empty %}
{% if view_kwargs.items %}
{% for k, v in view_kwargs.items %}
{{ k }}={{ v }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% else %}
None
{% endfor %}
{% endif %}
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 25d97a4

Please sign in to comment.