diff options
| author | Alex Gaynor | 2009-08-11 13:33:03 -0500 | 
|---|---|---|
| committer | Alex Gaynor | 2009-08-11 13:33:03 -0500 | 
| commit | 89a0b38316e1822bf22a4f013a6bb12f9db585b8 (patch) | |
| tree | e869b25e9ca66c29a8c75179e7a1ed4e75a8cabf /README.rst | |
| parent | 90681f01b4ba3261fb1a44559dc0ada539249719 (diff) | |
| download | django-debug-toolbar-89a0b38316e1822bf22a4f013a6bb12f9db585b8.tar.bz2 | |
allow for handling the pathological case of an insanely large template context
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 5 | 
1 files changed, 5 insertions, 0 deletions
| @@ -104,6 +104,11 @@ The debug toolbar has two settings that can be set in `settings.py`:     * `HIDE_DJANGO_SQL`: If set to True (the default) then code in Django itself       won't be show in SQL stacktraces. +   * `SHOW_TEMPLATE_CONTEXT`: If set to True (the default) then a template's +     context will be included with it in the Template debug panel.  Turning this +     off is useful when you have large template contexts, or you have template +     contexts with lazy datastructures that you don't want to be evaluated. +     Example configuration::  	def custom_show_toolbar(request): | 
