aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/utils.py')
-rw-r--r--debug_toolbar/utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/debug_toolbar/utils.py b/debug_toolbar/utils.py
index 0aedb54..e5eef4b 100644
--- a/debug_toolbar/utils.py
+++ b/debug_toolbar/utils.py
@@ -71,11 +71,11 @@ def render_stacktrace(trace):
params = map(escape, frame[0].rsplit(os.path.sep, 1) + list(frame[1:]))
params_dict = dict((six.text_type(idx), v) for idx, v in enumerate(params))
try:
- stacktrace.append('<span class="path">%(0)s/</span>'
- '<span class="file">%(1)s</span>'
- ' in <span class="func">%(3)s</span>'
- '(<span class="lineno">%(2)s</span>)\n'
- ' <span class="code">%(4)s</span>'
+ stacktrace.append('<span class="djdt-path">%(0)s/</span>'
+ '<span class="djdt-file">%(1)s</span>'
+ ' in <span class="djdt-func">%(3)s</span>'
+ '(<span class="djdt-lineno">%(2)s</span>)\n'
+ ' <span class="djdt-code">%(4)s</span>'
% params_dict)
except KeyError:
# This frame doesn't have the expected format, so skip it and move on to the next one