summaryrefslogtreecommitdiff
path: root/django/views/templates/technical_500.html
diff options
context:
space:
mode:
authorHrushikesh Vaidya <hrushikeshrv@gmail.com>2022-01-06 19:52:57 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-13 07:02:41 +0100
commit6815da6e9497a9a630d9f3637a51134d868bcd5b (patch)
tree952c856ff11b99f26b18d43c76bda9de31683586 /django/views/templates/technical_500.html
parent4099e6e73744ef6a609b578020219f6e4647dd7e (diff)
Fixed #33396 -- Added view name to technical 500 debug page.
Diffstat (limited to 'django/views/templates/technical_500.html')
-rw-r--r--django/views/templates/technical_500.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/views/templates/technical_500.html b/django/views/templates/technical_500.html
index a0f65eb162..c09f09a19b 100644
--- a/django/views/templates/technical_500.html
+++ b/django/views/templates/technical_500.html
@@ -133,6 +133,12 @@
<td><span class="fname">{{ lastframe.filename }}</span>, line {{ lastframe.lineno }}, in {{ lastframe.function }}</td>
</tr>
{% endif %}
+{% if raising_view_name %}
+ <tr>
+ <th>Raised during:</th>
+ <td>{{ raising_view_name }}</td>
+ </tr>
+{% endif %}
<tr>
<th>Python Executable:</th>
<td>{{ sys_executable }}</td>