Django

Code

Changeset 8407

Show
Ignore:
Timestamp:
08/16/08 07:33:36 (4 months ago)
Author:
russellm
Message:

Fixed #8178: Cleaned up the rendering of exceptions on the error template. Thanks to Marinho Brandão for the fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/debug.py

    r8047 r8407  
    329329    h2 span.commands { font-size:.7em;} 
    330330    span.commands a:link {color:#5E5694;} 
     331    pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } 
    331332  </style> 
    332333  <script type="text/javascript"> 
     
    389390<div id="summary"> 
    390391  <h1>{{ exception_type }} at {{ request.path|escape }}</h1> 
    391   <h2>{{ exception_value|escape }}</h2
     392  <pre class="exception_value">{{ exception_value|escape }}</pre
    392393  <table class="meta"> 
    393394    <tr>