This is a simple hits/miss panel for Johnny cache.
pip install git+git://github.com/streeter/johnny-panel.git#egg=johnny_panel
- Add
johnny_panel
to yourINSTALLED_APPS
setting (needed for template file):
INSTALLED_APPS = (
...
'johnny_panel',
)
- Add
johnny_panel.panel.JohnnyPanel
to yourDEBUG_TOOLBAR_PANELS
setting:
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.sql.SQLDebugPanel',
'debug_toolbar.panels.template.TemplateDebugPanel',
'debug_toolbar.panels.cache.CacheDebugPanel',
'debug_toolbar.panels.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
'johnny_panel.panel.JohnnyPanel'
)