aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/settings.py
diff options
context:
space:
mode:
authorAymeric Augustin2014-03-13 22:21:42 +0100
committerAymeric Augustin2014-03-13 22:21:42 +0100
commit110b509f8d10a2c877fb4175e8cfa0484eb7bcc2 (patch)
tree2f11b1ce1180f144664b21621787e817bbdc889a /debug_toolbar/settings.py
parentb3e2c1afb1518802609f493343165a90169ae64a (diff)
parentaa99ebc2a22b71bd1894a53059275f7281f67a71 (diff)
downloaddjango-debug-toolbar-110b509f8d10a2c877fb4175e8cfa0484eb7bcc2.tar.bz2
Merge pull request #560 from tim-schilling/profiler-max-depth-settings-515
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
}