From e75309b712537f3ee53005bf6330057c9640be21 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 9 Dec 2013 17:42:04 +0100 Subject: 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 --- example/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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')] -- cgit v1.2.3