aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJannis Leidel2013-12-09 17:42:04 +0100
committerJannis Leidel2013-12-09 17:42:04 +0100
commite75309b712537f3ee53005bf6330057c9640be21 (patch)
treee83b9943c1cf4ee53754922629417468bfcaa153 /example
parent2359b2e61d4f6018049042b3213a91af2b4db9fc (diff)
downloaddjango-debug-toolbar-e75309b712537f3ee53005bf6330057c9640be21.tar.bz2
Another pass over the staticfiles panel.
- adds some docstrings - adds some basic tests - adds the staticfiles panel to the default list of panels - fixed a pluralization bug in the template - refactored some things into own methods for easier testing
Diffstat (limited to 'example')
-rw-r--r--example/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/settings.py b/example/settings.py
index ca78f70..867b26f 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -84,12 +84,12 @@ DEBUG_TOOLBAR_PANELS = [
'debug_toolbar.panels.request.RequestPanel',
'debug_toolbar.panels.sql.SQLPanel',
'debug_toolbar.panels.templates.TemplatesPanel',
+ 'debug_toolbar.panels.staticfiles.StaticFilesPanel',
'debug_toolbar.panels.cache.CachePanel',
'debug_toolbar.panels.signals.SignalsPanel',
'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')]