aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/toolbar/loader.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/toolbar/loader.py')
-rw-r--r--debug_toolbar/toolbar/loader.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug_toolbar/toolbar/loader.py b/debug_toolbar/toolbar/loader.py
index ac42f3b..5701118 100644
--- a/debug_toolbar/toolbar/loader.py
+++ b/debug_toolbar/toolbar/loader.py
@@ -26,6 +26,7 @@ class DebugToolbar(object):
self.template_context = {
'BASE_URL': base_url, # for backwards compatibility
'DEBUG_TOOLBAR_MEDIA_URL': self.config.get('MEDIA_URL'),
+ 'STATIC_URL': settings.STATIC_URL,
}
self.load_panels()
@@ -55,8 +56,6 @@ class DebugToolbar(object):
"""
Renders the overall Toolbar with panels inside.
"""
- media_path = os.path.join(os.path.dirname(__file__), os.pardir, 'media', 'debug_toolbar')
-
context = self.template_context.copy()
context.update({
'panels': self.panels,