aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/toolbar/loader.py
diff options
context:
space:
mode:
authorThomas Grainger2012-08-20 13:35:46 +0100
committerThomas Grainger2012-08-20 13:35:46 +0100
commit189668eadd3f47d8c4a03ad2953b25a3a475a127 (patch)
tree13966da3eae4b2a2d22d895e83ba66a885740778 /debug_toolbar/toolbar/loader.py
parent119874f649e67e04ded3847fc166b9798af26a78 (diff)
downloaddjango-debug-toolbar-189668eadd3f47d8c4a03ad2953b25a3a475a127.tar.bz2
use links to static files rather than direct inclusion, Fixes #307
Diffstat (limited to 'debug_toolbar/toolbar/loader.py')
-rw-r--r--debug_toolbar/toolbar/loader.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/debug_toolbar/toolbar/loader.py b/debug_toolbar/toolbar/loader.py
index 02a558d..ac42f3b 100644
--- a/debug_toolbar/toolbar/loader.py
+++ b/debug_toolbar/toolbar/loader.py
@@ -60,8 +60,6 @@ class DebugToolbar(object):
context = self.template_context.copy()
context.update({
'panels': self.panels,
- 'js': mark_safe(open(os.path.join(media_path, 'js', 'toolbar.min.js'), 'r').read()),
- 'css': mark_safe(open(os.path.join(media_path, 'css', 'toolbar.min.css'), 'r').read()),
})
return render_to_string('debug_toolbar/base.html', context)