diff --git a/django/views/debug.py b/django/views/debug.py index a396d36244..df62dbfbf1 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -412,7 +412,7 @@ TECHNICAL_500_TEMPLATE = """
{{ exception_value|escape }}+
{{ exception_value|force_escape }}
Request Method: | @@ -432,7 +432,7 @@ TECHNICAL_500_TEMPLATE = """|||
---|---|---|---|
Exception Value: | -{{ exception_value|escape }} |
+ {{ exception_value|force_escape }} |
|
Exception Location: | @@ -459,7 +459,7 @@ TECHNICAL_500_TEMPLATE = """ {% if unicode_hint %}|||
{{ var.0|escape }} | -{{ var.1|pprint|escape }} |
+ {{ var.0|force_escape }} | +{{ var.1|pprint|force_escape }} |