Skip to content

Commit

Permalink
more readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ross committed Feb 7, 2011
1 parent 402e1a9 commit ff2ad00
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
====================
======================
Memcache Debug Toolbar
====================
======================

The Memcache Debug Toolbar is an add-on for Django Debug Toolbar for tracking
memcached usage. It currently supports both the pylibmc and memcache libraries.
Expand All @@ -13,7 +13,7 @@ Installation

#. Install and configure django-debug-toolbar

https://github.com/robhudson/django-debug-toolbar
https://github.com/robhudson/django-debug-toolbar

#. Add the `memcache_toolbar` directory to your Python path.

Expand All @@ -25,10 +25,12 @@ Installation
at least wrap the import line in if DEBUG:

For memcache:
import memcache_toolbar.panels.memcache

import memcache_toolbar.panels.memcache

For pylibmc:
import memcache_toolbar.panels.pylibmc

import memcache_toolbar.panels.pylibmc

Configuration
=============
Expand All @@ -39,17 +41,17 @@ Configuration
the list of debug toolbar's panels in the order in which you'd like it to
appear.

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.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
'memcache_toolbar.panels.memcache.MemcachePanel',
# if you use pyibmc you'd include it's panel instead
#'memcache_toolbar.panels.pylibmc.PylibmcPanel',
)
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.signals.SignalDebugPanel',
'debug_toolbar.panels.logger.LoggingPanel',
'memcache_toolbar.panels.memcache.MemcachePanel',
# if you use pyibmc you'd include it's panel instead
#'memcache_toolbar.panels.pylibmc.PylibmcPanel',
)

0 comments on commit ff2ad00

Please sign in to comment.