Ticket #16331: TECHNICAL_500_TEMPLATE-pre-whitespace-pre-wrap.patch

File TECHNICAL_500_TEMPLATE-pre-whitespace-pre-wrap.patch, 842 bytes (added by chickamade, 4 years ago)

patch as described in the ticket

  • django/views/debug.py

    From daed685eb9e7a4e7749bbb975f4649e27d74bc37 Mon Sep 17 00:00:00 2001
    From: Trinh Hai-Anh <trinh.haianh@skunkworks.vn>
    Date: Fri, 24 Jun 2011 16:07:21 +0700
    Subject: [PATCH] TECHNICAL_500_TEMPLATE: pre { white-space: pre-wrap; }
    
    ---
     django/views/debug.py |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/django/views/debug.py b/django/views/debug.py
    index 490d4bb..9ea85dc 100644
    a b TECHNICAL_500_TEMPLATE = """ 
    486486    .specific { color:#cc3300; font-weight:bold; }
    487487    h2 span.commands { font-size:.7em;}
    488488    span.commands a:link {color:#5E5694;}
     489    pre { white-space: pre-wrap; }
    489490    pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
    490491  </style>
    491492  {% if not is_email %}
Back to Top