@@ -10,7 +10,9 @@ fully functional.
10
10
1. Install the Package
11
11
^^^^^^^^^^^^^^^^^^^^^^
12
12
13
- The recommended way to install the Debug Toolbar is via pip _::
13
+ The recommended way to install the Debug Toolbar is via pip _:
14
+
15
+ .. code-block :: console
14
16
15
17
$ python -m pip install django-debug-toolbar
16
18
@@ -20,9 +22,11 @@ If you aren't familiar with pip, you may also obtain a copy of the
20
22
.. _pip : https://pip.pypa.io/
21
23
22
24
To test an upcoming release, you can install the in-development version
23
- instead with the following command::
25
+ instead with the following command:
26
+
27
+ .. code-block :: console
24
28
25
- $ python -m pip install -e git+https://github.com/jazzband/django-debug-toolbar.git#egg=django-debug-toolbar
29
+ $ python -m pip install -e git+https://github.com/jazzband/django-debug-toolbar.git#egg=django-debug-toolbar
26
30
27
31
If you're upgrading from a previous version, you should review the
28
32
:doc: `change log <changes >` and look for specific upgrade instructions.
@@ -64,7 +68,9 @@ Second, ensure that your ``TEMPLATES`` setting contains a
64
68
3. Install the App
65
69
^^^^^^^^^^^^^^^^^^
66
70
67
- Add ``"debug_toolbar" `` to your ``INSTALLED_APPS `` setting::
71
+ Add ``"debug_toolbar" `` to your ``INSTALLED_APPS `` setting:
72
+
73
+ .. code-block :: python
68
74
69
75
INSTALLED_APPS = [
70
76
# ...
@@ -83,7 +89,7 @@ Add django-debug-toolbar's URLs to your project's URLconf:
83
89
84
90
urlpatterns = [
85
91
# ...
86
- path(' __debug__/' , include(' debug_toolbar.urls' )),
92
+ path(" __debug__/" , include(" debug_toolbar.urls" )),
87
93
]
88
94
89
95
This example uses the ``__debug__ `` prefix, but you can use any prefix that
0 commit comments