summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-04-27 08:40:52 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-04-27 08:41:11 +0200
commit727a154094a2d565e3d4e9e11cd80dda46cc227d (patch)
treebd67cf1bddb542fbf19b5f5533c5ecda9b99e066 /django
parent0dfe88eaba551ab3ecec9a573d59e8d2fa3a8f94 (diff)
[3.2.x] Refs 32637 -- Made technical 404 debug page display exception message when URL is resolved.
Follow up to 3b8527e32b665df91622649550813bb1ec9a9251. Backport of d68be0494be8b82365f2a5410c9335e539d8efd6 from main
Diffstat (limited to 'django')
-rw-r--r--django/views/templates/technical_404.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/templates/technical_404.html b/django/views/templates/technical_404.html
index aeba2daf9c..c47dae22af 100644
--- a/django/views/templates/technical_404.html
+++ b/django/views/templates/technical_404.html
@@ -26,7 +26,7 @@
<body>
<div id="summary">
<h1>Page not found <span>(404)</span></h1>
- {% if reason %}<pre class="exception_value">{{ reason }}</pre>{% endif %}
+ {% if reason and resolved %}<pre class="exception_value">{{ reason }}</pre>{% endif %}
<table class="meta">
<tr>
<th>Request Method:</th>