diff options
| author | Jannis Leidel | 2012-04-06 12:59:56 +0200 | 
|---|---|---|
| committer | Jannis Leidel | 2013-12-08 23:33:39 +0100 | 
| commit | 184992f2d5773016e2c8315c91acbf8f601775bf (patch) | |
| tree | 17753ea901f2db95e93f5897606fe0cbbda5e860 /example | |
| parent | e334bf6e4b4975fd87957c473a62c0d889e38cb0 (diff) | |
| download | django-debug-toolbar-184992f2d5773016e2c8315c91acbf8f601775bf.tar.bz2 | |
Added staticfiles panel class.
Diffstat (limited to 'example')
| -rw-r--r-- | example/settings.py | 3 | ||||
| -rw-r--r-- | example/static/test.css | 3 | 
2 files changed, 6 insertions, 0 deletions
| 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 | 
