debug toolbar

6 views
Skip to first unread message

Anton Litvinov

unread,
May 16, 2011, 3:47:19 PM5/16/11
to django-lfc
Is there a way to enable debug toolbar in LFC ?
The following code does not work by some unknown reason:


if DEBUG:
MIDDLEWARE_CLASSES +=
('debug_toolbar.middleware.DebugToolbarMiddleware',)
INSTALLED_APPS += ('debug_toolbar',)
DEBUG_TOOLBAR_PANELS = (
'debug_toolbar.panels.version.VersionDebugPanel',
'debug_toolbar.panels.timer.TimerDebugPanel',
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
'debug_toolbar.panels.headers.HeaderDebugPanel',
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
'debug_toolbar.panels.template.TemplateDebugPanel',
'debug_toolbar.panels.sql.SQLDebugPanel',
'debug_toolbar.panels.cache.CacheDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
)
DEBUG_TOOLBAR_CONFIG = {
'EXCLUDE_URLS': ('/admin',), #
'INTERCEPT_REDIRECTS': False,
}

Kai Diefenbach

unread,
May 17, 2011, 2:17:15 AM5/17/11
to djang...@googlegroups.com
2011/5/16 Anton Litvinov <mirt...@gmail.com>
Is there a way to enable debug toolbar in LFC ?

The Debug Toolbar works for me well with LFC.

Maybe you miss some settings, for instance INTERNAL_IPS?

Kai

Anton A. Litvinov

unread,
May 17, 2011, 7:33:02 AM5/17/11
to djang...@googlegroups.com
Yes,
you are quite right.

It was INTERNAL_IPS

2011/5/17 Kai Diefenbach <kai.die...@iqpp.de>:

--
With best regards.
Anton
E-mail: mirt...@gmail.com
Jabber: sol...@jabber.ru

Reply all
Reply to author
Forward
0 new messages