aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/settings.py
diff options
context:
space:
mode:
authortschilling2014-03-12 21:28:54 -0400
committertschilling2014-03-12 21:28:54 -0400
commitaa99ebc2a22b71bd1894a53059275f7281f67a71 (patch)
tree2f11b1ce1180f144664b21621787e817bbdc889a /debug_toolbar/settings.py
parentb3e2c1afb1518802609f493343165a90169ae64a (diff)
downloaddjango-debug-toolbar-aa99ebc2a22b71bd1894a53059275f7281f67a71.tar.bz2
Allow profiler max depth to be configurable.
Diffstat (limited to 'debug_toolbar/settings.py')
-rw-r--r--debug_toolbar/settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py
index 9ec2736..5c1cd3d 100644
--- a/debug_toolbar/settings.py
+++ b/debug_toolbar/settings.py
@@ -33,6 +33,7 @@ CONFIG_DEFAULTS = {
'debug_toolbar',
'django',
),
+ 'PROFILER_MAX_DEPTH': 10,
'SHOW_TEMPLATE_CONTEXT': True,
'SQL_WARNING_THRESHOLD': 500, # milliseconds
}