Fix debug screen.
This commit is contained in:
parent
b6f0c88320
commit
a7eb8e930c
2 changed files with 9 additions and 39 deletions
|
|
@ -12,19 +12,12 @@
|
|||
<pre>{{ exception }}</pre>
|
||||
</div>
|
||||
|
||||
{% set body %}
|
||||
URL: {{ request.url }}
|
||||
|
||||
{{ tb.plaintext | safe }}
|
||||
{% endset %}
|
||||
|
||||
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
|
||||
{{ summary | safe }}
|
||||
|
||||
{#
|
||||
<p>Error in function "{{ last_frame.function_name }}": {{ last_frame_args | pprint }}</p>
|
||||
<pre>{{ last_frame.locals | pprint }}</pre>
|
||||
#}
|
||||
<p>Error in function "{{ last_frame.f_code.co_name }}": {{ last_frame_args | pprint }}</p>
|
||||
<pre>{{ last_frame.f_locals | pprint }}</pre>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue