diff options
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/headers.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/headers.html b/debug_toolbar/templates/debug_toolbar/panels/headers.html index 981b847..6b057e9 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/headers.html +++ b/debug_toolbar/templates/debug_toolbar/panels/headers.html @@ -1,4 +1,7 @@ {% load i18n %} + +<h4>{% trans "HTTP Headers" %}</h4> + <table> <thead> <tr> @@ -15,3 +18,24 @@ {% endfor %} </tbody> </table> + +<h4>{% trans "WSGI environ" %}</h4> + +<p>{% trans "Since the WSGI environ inherits the environment of the server, only a subset is shown below." %}</p> + +<table> + <thead> + <tr> + <th>{% trans "Key" %}</th> + <th>{% trans "Value" %}</th> + </tr> + </thead> + <tbody> + {% for key, value in environ.items %} + <tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}"> + <td>{{ key|escape }}</td> + <td>{{ value|escape }}</td> + </tr> + {% endfor %} + </tbody> +</table> |
