{% endif %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 7e44a46..5cbb742 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -1,4 +1,4 @@
-{% load i18n %}
+{% load i18n %}{% load url from future %}
{% blocktrans count template_dirs|length as template_count %}Template path{% plural %}Template paths{% endblocktrans %}
{% if template_dirs %}
@@ -14,7 +14,7 @@
{% if templates %}
{% for template in templates %}
- - {{ template.template.name|addslashes }}
+ - {{ template.template.name|addslashes }}
- {{ template.template.origin_name|addslashes }}
{% if template.context %}
-
diff --git a/debug_toolbar/toolbar/loader.py b/debug_toolbar/toolbar/loader.py
index de4aa93..870eec3 100644
--- a/debug_toolbar/toolbar/loader.py
+++ b/debug_toolbar/toolbar/loader.py
@@ -18,13 +18,10 @@ class DebugToolbar(object):
self.request = request
self._panels = SortedDict()
base_url = self.request.META.get('SCRIPT_NAME', '')
- self.config = {
- 'MEDIA_URL': '%s/__debug__/m/' % base_url,
- }
+ self.config = {}
self.config.update(CONFIG)
self.template_context = {
'BASE_URL': base_url, # for backwards compatibility
- 'DEBUG_TOOLBAR_MEDIA_URL': self.config['MEDIA_URL'],
'STATIC_URL': settings.STATIC_URL,
'TOOLBAR_ROOT_TAG_ATTRS': self.config['ROOT_TAG_ATTRS'],
}
--
cgit v1.2.3