aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/toolbar/loader.py
diff options
context:
space:
mode:
authorJannis Leidel2012-08-27 03:37:44 -0700
committerJannis Leidel2012-08-27 03:37:44 -0700
commit1432944152d5fa6005e29419dc160a7602a26cee (patch)
tree0198cb90ff0088d718b5c3d9e11f1893f37e742f /debug_toolbar/toolbar/loader.py
parent119874f649e67e04ded3847fc166b9798af26a78 (diff)
parenta4480a2f810fd8a21da1d2e637d4bfcf10357605 (diff)
downloaddjango-debug-toolbar-1432944152d5fa6005e29419dc160a7602a26cee.tar.bz2
Merge pull request #313 from graingert/master
Use links to static JS and CSS, using {{ STATIC_URL }}
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)