Skip to content

Commit a882d68

Browse files
committed
Merge pull request #297 from adewinter/master
Minor tweak to Readme file for your review
2 parents ae51b16 + d4d5124 commit a882d68

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Installation
3232

3333
#. Add the `debug_toolbar` directory to your Python path.
3434

35-
#. Add the following middleware to your project's `settings.py` file:
35+
#. Add the following middleware to your project's `settings.py` file::
3636

37-
``'debug_toolbar.middleware.DebugToolbarMiddleware',``
37+
'debug_toolbar.middleware.DebugToolbarMiddleware',
3838

3939
Tying into middleware allows each panel to be instantiated on request and
4040
rendering to happen on response.
@@ -53,7 +53,7 @@ Installation
5353
toolbar will not show up on flatpages.
5454

5555
#. Make sure your IP is listed in the `INTERNAL_IPS` setting. If you are
56-
working locally this will be:
56+
working locally this will be::
5757

5858
INTERNAL_IPS = ('127.0.0.1',)
5959

@@ -62,8 +62,12 @@ Installation
6262
your own logic for displaying the toolbar.
6363

6464
#. Add `debug_toolbar` to your `INSTALLED_APPS` setting so Django can find the
65-
template files associated with the Debug Toolbar.
65+
template files associated with the Debug Toolbar::
6666

67+
INSTALLED_APPS = (
68+
...
69+
'debug_toolbar',
70+
)
6771
Alternatively, add the path to the debug toolbar templates
6872
(``'path/to/debug_toolbar/templates'`` to your ``TEMPLATE_DIRS`` setting.)
6973

0 commit comments

Comments
 (0)