/usr/share/pyshared/debug_toolbar/templates/debug_toolbar/panels/request_vars.html is in python-django-debug-toolbar 1:0+git201107220111-96e46c6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | {% load i18n %}
<h4>{% trans 'View information' %}</h4>
<table>
<thead>
<tr>
<th>{% trans 'View Function' %}</th>
<th>{% trans 'args' %}</th>
<th>{% trans 'kwargs' %}</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ view_func }}</td>
<td>{{ view_args|default:"None" }}</td>
<td>
{% if view_kwargs.items %}
{% for k, v in view_kwargs.items %}
{{ k }}={{ v }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% else %}
None
{% endif %}
</td>
</tr>
</tbody>
</table>
<h4>{% trans 'COOKIES Variables' %}</h4>
{% if cookies %}
<table>
<colgroup>
<col style="width:20%"/>
<col/>
</colgroup>
<thead>
<tr>
<th>{% trans "Variable" %}</th>
<th>{% trans "Value" %}</th>
</tr>
</thead>
<tbody>
{% for key, value in cookies %}
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
<td>{{ key|escape }}</td>
<td>{{ value|escape }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "No COOKIE data" %}</p>
{% endif %}
<h4>{% trans 'SESSION Variables' %}</h4>
{% if session %}
<table>
<colgroup>
<col style="width:20%"/>
<col/>
</colgroup>
<thead>
<tr>
<th>{% trans "Variable" %}</th>
<th>{% trans "Value" %}</th>
</tr>
</thead>
<tbody>
{% for key, value in session %}
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
<td>{{ key|escape }}</td>
<td>{{ value|escape }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "No SESSION data" %}</p>
{% endif %}
<h4>{% trans 'GET Variables' %}</h4>
{% if get %}
<table>
<thead>
<tr>
<th>{% trans "Variable" %}</th>
<th>{% trans "Value" %}</th>
</tr>
</thead>
<tbody>
{% for key, value in get %}
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
<td>{{ key|escape }}</td>
<td>{{ value|join:", "|escape }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "No GET data" %}</p>
{% endif %}
<h4>{% trans 'POST Variables' %}</h4>
{% if post %}
<table>
<thead>
<tr>
<th>{% trans "Variable" %}</th>
<th>{% trans "Value" %}</th>
</tr>
</thead>
<tbody>
{% for key, value in post %}
<tr class="{% cycle 'row1' 'row2' %}">
<td>{{ key|escape }}</td>
<td>{{ value|join:", "|escape }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "No POST data" %}</p>
{% endif %}
|