aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 1ea9d25..5e4ab64 100644
--- a/README.rst
+++ b/README.rst
@@ -124,6 +124,10 @@ The debug toolbar has two settings that can be set in `settings.py`:
* `TAG`: If set, this will be the tag to which debug_toolbar will attach the
debug toolbar. Defaults to 'body'.
+ * `ENABLE_STACKTRACES`: If set, this will show stacktraces for SQL queries.
+ Enabling stacktraces can increase the CPU time used when executing
+ queries. Defaults to True.
+
Example configuration::
def custom_show_toolbar(request):
@@ -135,6 +139,7 @@ The debug toolbar has two settings that can be set in `settings.py`:
'EXTRA_SIGNALS': ['myproject.signals.MySignal'],
'HIDE_DJANGO_SQL': False,
'TAG': 'div',
+ 'ENABLE_STACKTRACES' : True,
}
`debugsqlshell`