diff options
| author | Aymeric Augustin | 2013-11-24 11:26:07 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-24 11:26:07 +0100 | 
| commit | 908b49cb7d2d527b701996f0d0b9e1e19e765819 (patch) | |
| tree | 545635570f264761d7314aa761cd36d1e6a56f7c /debug_toolbar/utils.py | |
| parent | e7692b33ca7fd3f7704d283d6b1368cdea198d59 (diff) | |
| download | django-debug-toolbar-908b49cb7d2d527b701996f0d0b9e1e19e765819.tar.bz2 | |
Rename some settings for clarity and consistency.
Thanks Jannis for his help.
Diffstat (limited to 'debug_toolbar/utils.py')
| -rw-r--r-- | debug_toolbar/utils.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/debug_toolbar/utils.py b/debug_toolbar/utils.py index 811f1b2..065c810 100644 --- a/debug_toolbar/utils.py +++ b/debug_toolbar/utils.py @@ -25,7 +25,7 @@ def get_module_path(module_name):          module = import_module(module_name)      except ImportError as e:          raise ImproperlyConfigured( -            'Error importing HIDDEN_STACKTRACE_MODULES: %s' % (e,)) +            'Error importing HIDE_IN_STACKTRACES: %s' % (e,))      else:          source_path = inspect.getsourcefile(module)          if source_path.endswith('__init__.py'): @@ -35,7 +35,7 @@ def get_module_path(module_name):  hidden_paths = [      get_module_path(module_name) -    for module_name in CONFIG['HIDDEN_STACKTRACE_MODULES'] +    for module_name in CONFIG['HIDE_IN_STACKTRACES']  ] | 
