diff options
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/request_vars.html | 29 | 
1 files changed, 28 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html index 83482e3..124b86e 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html @@ -1,4 +1,31 @@  {% load i18n %} + +<h4>{% trans 'View information' %}</h4> +<table> +	<colgroup> +		<col style="width:20%"/> +		<col/> +	</colgroup> +	<tbody> +        <tr> +            <th>{% trans 'View function' %}</th> +	        <td>{{ view_func }}</td> +        </tr> +        {% if view_args %} +            <tr> +                <th>{% trans 'View arguments' %}</th> +                <td>{{ view_args }}</td> +            </tr> +        {% endif %} +        {% if view_kwargs %} +            <tr> +                <th>{% trans 'View keyword arguments' %}</th> +                <td>{{ view_kwargs }}</td> +            </tr> +        {% endif %} +	</tbody> +</table> +  <h4>{% trans 'COOKIES Variables' %}</h4>  {% if cookies %}  	<table> @@ -93,4 +120,4 @@  	</table>  {% else %}  	<p>{% trans "No POST data" %}</p> -{% endif %}
\ No newline at end of file +{% endif %}  | 
