diff options
| author | Matt Robenolt | 2012-09-16 19:19:08 -0700 |
|---|---|---|
| committer | Matt Robenolt | 2012-09-16 19:25:38 -0700 |
| commit | 171406fbb940895721a55a46de68551f00b9908c (patch) | |
| tree | d27d4a7e6b0b0f3e5a1b6f7111848b419fc588e6 /debug_toolbar/toolbar/loader.py | |
| parent | ad152874296ec55e322696dcd6c539a33a423f51 (diff) | |
| download | django-debug-toolbar-171406fbb940895721a55a46de68551f00b9908c.tar.bz2 | |
Fix static assets
Diffstat (limited to 'debug_toolbar/toolbar/loader.py')
| -rw-r--r-- | debug_toolbar/toolbar/loader.py | 3 |
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, |
