diff options
| author | Jannis Leidel | 2010-02-16 22:40:25 +0100 |
|---|---|---|
| committer | Rob Hudson | 2010-02-16 15:40:07 -0800 |
| commit | 3bfcb1d76ad08146958038455450369bd3ea4e07 (patch) | |
| tree | f9ebf00bdcc7d35037de253d7afd05decd073e5d /debug_toolbar/templates | |
| parent | 25e96145cfb28079718c89f9e24bc0c7effd1d9d (diff) | |
| download | django-debug-toolbar-3bfcb1d76ad08146958038455450369bd3ea4e07.tar.bz2 | |
Fixed #60 - Added MEDIA_URL config option to be able to override the URL to the static files (good with django-staticfiles). Also moved media files to subdirectories like other apps.
Signed-off-by: Rob Hudson <rob@cogit8.org>
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 7b19a5d..49ff279 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -1,10 +1,10 @@ {% load i18n %} <script type="text/javascript" charset="utf-8"> // <![CDATA[ -var BASEURL = "{{ BASE_URL }}"; +var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}"; // ]]> </script> -<script type="text/javascript" src="{{ BASE_URL }}/__debug__/m/toolbar.min.js"></script> +<script type="text/javascript" src="{{ DEBUG_TOOLBAR_MEDIA_URL }}js/toolbar.min.js"></script> <div id="djDebug"> <div style="display:none;" id="djDebugToolbar"> <ul id="djDebugPanelList"> |
