From 184992f2d5773016e2c8315c91acbf8f601775bf Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 6 Apr 2012 12:59:56 +0200 Subject: Added staticfiles panel class. --- example/settings.py | 3 +++ example/static/test.css | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 example/static/test.css (limited to 'example') diff --git a/example/settings.py b/example/settings.py index 4c29ba9..ca78f70 100644 --- a/example/settings.py +++ b/example/settings.py @@ -89,4 +89,7 @@ DEBUG_TOOLBAR_PANELS = [ 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel', 'debug_toolbar.panels.profiling.ProfilingPanel', + 'debug_toolbar.panels.staticfiles.StaticFilesPanel', ] + +STATICFILES_DIRS = [os.path.join(BASE_DIR, 'example', 'static')] diff --git a/example/static/test.css b/example/static/test.css new file mode 100644 index 0000000..8d7d127 --- /dev/null +++ b/example/static/test.css @@ -0,0 +1,3 @@ +body { + color: green; +} \ No newline at end of file -- cgit v1.2.3