summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/views/debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/debug.py b/django/views/debug.py
index c7a4e6bf7d..674d4e4bfd 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -280,7 +280,7 @@ TECHNICAL_500_TEMPLATE = """
<div id="summary">
<h1>{{ exception_type }} at {{ request.path }}</h1>
- <h2>{{ exception_value }}</h2>
+ <h2>{{ exception_value|escape }}</h2>
<table class="meta">
<tr>
<th>Request Method:</th>