From 908b49cb7d2d527b701996f0d0b9e1e19e765819 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 24 Nov 2013 11:26:07 +0100 Subject: Rename some settings for clarity and consistency. Thanks Jannis for his help. --- debug_toolbar/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug_toolbar/utils.py') 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'] ] -- cgit v1.2.3