Revision 92ea6229
Added by Jérôme Schneider over 12 years ago
calebasse/settings/common.py | ||
---|---|---|
103 | 103 |
'django.middleware.csrf.CsrfViewMiddleware', |
104 | 104 |
'django.contrib.auth.middleware.AuthenticationMiddleware', |
105 | 105 |
'django.contrib.messages.middleware.MessageMiddleware', |
106 |
'debug_toolbar.middleware.DebugToolbarMiddleware', |
|
106 | 107 |
# Uncomment the next line for simple clickjacking protection: |
107 | 108 |
# 'django.middleware.clickjacking.XFrameOptionsMiddleware', |
108 | 109 |
) |
... | ... | |
143 | 144 |
'south', |
144 | 145 |
'django.contrib.admin', |
145 | 146 |
'ajax_select', |
147 |
'debug_toolbar', |
|
146 | 148 |
'widget_tweaks', |
147 | 149 |
# Uncomment the next line to enable admin documentation: |
148 | 150 |
# 'django.contrib.admindocs', |
... | ... | |
154 | 156 |
'calebasse.ressources', |
155 | 157 |
) |
156 | 158 |
|
159 |
INTERNAL_IPS=('127.0.0.1',) |
|
160 |
|
|
157 | 161 |
# A sample logging configuration. The only tangible logging |
158 | 162 |
# performed by this configuration is to send an email to |
159 | 163 |
# the site admins on every HTTP 500 error when DEBUG=False. |
Also available in: Unified diff
Enable django debug toolbar and improve agenda view