diff options
| author | tschilling | 2014-02-15 09:07:31 -0500 | 
|---|---|---|
| committer | tschilling | 2014-02-15 09:07:31 -0500 | 
| commit | 5fd65ef273ff011c156b8a6953b667f8b6b6c249 (patch) | |
| tree | 07b0e24038539d1161c101d05e7dba1bb0245384 | |
| parent | cc08c0d19bd5d1c7ff2281e3c3e4d92fa932e6d5 (diff) | |
| download | django-debug-toolbar-5fd65ef273ff011c156b8a6953b667f8b6b6c249.tar.bz2 | |
Changing set declaration.
| -rw-r--r-- | debug_toolbar/settings.py | 2 | ||||
| -rw-r--r-- | docs/configuration.rst | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py index 0ea75ab..2c71888 100644 --- a/debug_toolbar/settings.py +++ b/debug_toolbar/settings.py @@ -16,7 +16,7 @@ from django.utils import six  CONFIG_DEFAULTS = {      # Toolbar options -    'DEFAULT_DISABLED_PANELS': {'debug_toolbar.panels.redirects.RedirectsPanel'}, +    'DEFAULT_DISABLED_PANELS': set(['debug_toolbar.panels.redirects.RedirectsPanel']),      'INSERT_BEFORE': '</body>',      'RENDER_PANELS': None,      'RESULTS_STORE_SIZE': 10, diff --git a/docs/configuration.rst b/docs/configuration.rst index 972d9ac..8ad9087 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -59,7 +59,7 @@ Toolbar options  * ``DEFAULT_DISABLED_PANELS`` -  Default: ``{'debug_toolbar.panels.redirects.RedirectsPanel'}`` +  Default: ``set(['debug_toolbar.panels.redirects.RedirectsPanel'])``    This setting is a set of the full Python paths to each panel that you    want disabled (but still displayed) by default. | 
