From 1c1b4428642254f4e6b05e93bd135b894f708eeb Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 24 Nov 2013 12:05:28 +0100 Subject: Take advantage of django.contrib.staticfiles to serve static files. It is the de facto standard nowadays and there's no good reason not to use it. --- debug_toolbar/templates/debug_toolbar/base.html | 8 ++++---- debug_toolbar/templates/debug_toolbar/panels/profiling.html | 5 ++--- debug_toolbar/templates/debug_toolbar/panels/sql.html | 4 ++-- debug_toolbar/templates/debug_toolbar/panels/templates.html | 4 ++-- debug_toolbar/templates/debug_toolbar/panels/timer.html | 4 ++-- debug_toolbar/toolbar.py | 6 +----- 6 files changed, 13 insertions(+), 18 deletions(-) (limited to 'debug_toolbar') diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 8a5e070..a9d82dc 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -1,13 +1,13 @@ -{% load i18n %}{% load url from future %} +{% load i18n %}{% load static from staticfiles %}{% load url from future %} - + - - + +