reformat and fix array index bug
[svn42.git] / grical-patchqueue / makeitwork disable debugging
1 # HG changeset patch
2 # Parent a0a64bae16e73f79eb4dfbd628700bbf91b03d36
3
4 diff -r a0a64bae16e7 grical/settings_debug.py
5 --- a/grical/settings_debug.py  Tue Jul 03 01:01:52 2012 +0200
6 +++ b/grical/settings_debug.py  Tue Jul 03 01:05:15 2012 +0200
7 @@ -1,25 +1,25 @@
8  from settings_base import *
9  
10 -DEBUG = True
11 -TEMPLATE_DEBUG = True
12 -TEMPLATE_STRING_IF_INVALID = 'STRING_NOT_SET'
13 -MIDDLEWARE_CLASSES = (MIDDLEWARE_CLASSES[0], 
14 -                      'debug_toolbar.middleware.DebugToolbarMiddleware'
15 -                     ) + MIDDLEWARE_CLASSES[1:]
16 -MIDDLEWARE_CLASSES += (
17 -    'grical.middlewares.ProfileMiddleware', )
18 -INSTALLED_APPS = ('debug_toolbar',) + INSTALLED_APPS
19 -DEBUG_TOOLBAR_PANELS = (
20 -    'debug_toolbar.panels.version.VersionDebugPanel',
21 -    'debug_toolbar.panels.timer.TimerDebugPanel',
22 -    # 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel', # shows passwords !!!
23 -    'debug_toolbar.panels.headers.HeaderDebugPanel',
24 -    'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
25 -    'debug_toolbar.panels.template.TemplateDebugPanel',
26 -    'debug_toolbar.panels.sql.SQLDebugPanel',
27 -    'debug_toolbar.panels.signals.SignalDebugPanel',
28 -    'debug_toolbar.panels.logger.LoggingPanel',
29 -)
30 +DEBUG = False
31 +TEMPLATE_DEBUG = False
32 +#TEMPLATE_STRING_IF_INVALID = 'STRING_NOT_SET'
33 +#MIDDLEWARE_CLASSES = (MIDDLEWARE_CLASSES[0], 
34 +#                      'debug_toolbar.middleware.DebugToolbarMiddleware'
35 +#                     ) + MIDDLEWARE_CLASSES[1:]
36 +#MIDDLEWARE_CLASSES += (
37 +#    'grical.middlewares.ProfileMiddleware', )
38 +#INSTALLED_APPS = ('debug_toolbar',) + INSTALLED_APPS
39 +#DEBUG_TOOLBAR_PANELS = (
40 +#    'debug_toolbar.panels.version.VersionDebugPanel',
41 +#    'debug_toolbar.panels.timer.TimerDebugPanel',
42 +#    # 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel', # shows passwords !!!
43 +#    'debug_toolbar.panels.headers.HeaderDebugPanel',
44 +#    'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
45 +#    'debug_toolbar.panels.template.TemplateDebugPanel',
46 +#    'debug_toolbar.panels.sql.SQLDebugPanel',
47 +#    'debug_toolbar.panels.signals.SignalDebugPanel',
48 +#    'debug_toolbar.panels.logger.LoggingPanel',
49 +#)
50  # don't show the toolbar if the profiler
51  #   grical.middlewares.ProfileMiddleware
52  # is used, which happens when adding ?profile=1 to the request