aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannis Leidel2012-07-09 03:10:03 -0700
committerJannis Leidel2012-07-09 03:10:03 -0700
commita882d683abd2d9d43e10db3ebf8eacaea2910b4e (patch)
treea6f327be6e65e59ddc758671696669e59fbd9854
parentae51b16d42a1ea52f99e1a89f1a74ec3c3cc6c20 (diff)
parentd4d51245366b87f4227d2d1c125e0a027692f256 (diff)
downloaddjango-debug-toolbar-a882d683abd2d9d43e10db3ebf8eacaea2910b4e.tar.bz2
Merge pull request #297 from adewinter/master
Minor tweak to Readme file for your review
-rw-r--r--README.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 7c54f40..44279ce 100644
--- a/README.rst
+++ b/README.rst
@@ -32,9 +32,9 @@ Installation
#. Add the `debug_toolbar` directory to your Python path.
-#. Add the following middleware to your project's `settings.py` file:
+#. Add the following middleware to your project's `settings.py` file::
- ``'debug_toolbar.middleware.DebugToolbarMiddleware',``
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
Tying into middleware allows each panel to be instantiated on request and
rendering to happen on response.
@@ -53,7 +53,7 @@ Installation
toolbar will not show up on flatpages.
#. Make sure your IP is listed in the `INTERNAL_IPS` setting. If you are
- working locally this will be:
+ working locally this will be::
INTERNAL_IPS = ('127.0.0.1',)
@@ -62,8 +62,12 @@ Installation
your own logic for displaying the toolbar.
#. Add `debug_toolbar` to your `INSTALLED_APPS` setting so Django can find the
- template files associated with the Debug Toolbar.
+ template files associated with the Debug Toolbar::
+ INSTALLED_APPS = (
+ ...
+ 'debug_toolbar',
+ )
Alternatively, add the path to the debug toolbar templates
(``'path/to/debug_toolbar/templates'`` to your ``TEMPLATE_DIRS`` setting.)