diff --git a/django/views/debug.py b/django/views/debug.py index 047ee2d553..0ddaa44a7f 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -131,8 +131,9 @@ TECHNICAL_500_TEMPLATE = """ ul.traceback li.frame { margin-bottom:1em; } div.context { margin: 10px 0; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } - div.context ol li { font-family:monospace; white-space:pre; color:#666; } - div.context ol.context-line li { color:black; background-color:#ccc; cursor:pointer; } + div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; } + div.context ol.context-line li { color:black; background-color:#ccc; } + div.context ol.context-line li span { float: right; } div.commands { margin-left: 40px; } div.commands a { color:black; text-decoration:none; } #summary { background: #ffc; } @@ -231,11 +232,11 @@ TECHNICAL_500_TEMPLATE = """ {% if frame.context_line %}