mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
Fixed #8178: Cleaned up the rendering of exceptions on the error template. Thanks to Marinho Brandão for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ceb8fc56af
commit
3afa4a4626
@ -328,6 +328,7 @@ TECHNICAL_500_TEMPLATE = """
|
|||||||
.specific { color:#cc3300; font-weight:bold; }
|
.specific { color:#cc3300; font-weight:bold; }
|
||||||
h2 span.commands { font-size:.7em;}
|
h2 span.commands { font-size:.7em;}
|
||||||
span.commands a:link {color:#5E5694;}
|
span.commands a:link {color:#5E5694;}
|
||||||
|
pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//<!--
|
//<!--
|
||||||
@ -388,7 +389,7 @@ TECHNICAL_500_TEMPLATE = """
|
|||||||
<body>
|
<body>
|
||||||
<div id="summary">
|
<div id="summary">
|
||||||
<h1>{{ exception_type }} at {{ request.path|escape }}</h1>
|
<h1>{{ exception_type }} at {{ request.path|escape }}</h1>
|
||||||
<h2>{{ exception_value|escape }}</h2>
|
<pre class="exception_value">{{ exception_value|escape }}</pre>
|
||||||
<table class="meta">
|
<table class="meta">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Request Method:</th>
|
<th>Request Method:</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user