diff options
| author | Steve Piercy <web@stevepiercy.com> | 2015-06-18 04:30:28 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2015-06-18 04:32:23 -0700 |
| commit | ced8b4d6fc138e11d97f85ccb88ed619f50fdc0d (patch) | |
| tree | 980843f9df248a84b0094ed9090edadd0a0e7dea /docs | |
| parent | 9d827aa4de522a611c4eed566be0e053506a54af (diff) | |
| download | pyramid-ced8b4d6fc138e11d97f85ccb88ed619f50fdc0d.tar.gz pyramid-ced8b4d6fc138e11d97f85ccb88ed619f50fdc0d.tar.bz2 pyramid-ced8b4d6fc138e11d97f85ccb88ed619f50fdc0d.zip | |
rst numbering syntax
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar.rst | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/quick_tutorial/debugtoolbar.rst b/docs/quick_tutorial/debugtoolbar.rst index a5623ae2a..f11abc493 100644 --- a/docs/quick_tutorial/debugtoolbar.rst +++ b/docs/quick_tutorial/debugtoolbar.rst @@ -89,24 +89,24 @@ temporarily. Extra Credit ============ -# Why don't we add ``pyramid_debugtoolbar`` to the list of - ``install_requires`` dependencies in ``debugtoolbar/setup.py``? +#. Why don't we add ``pyramid_debugtoolbar`` to the list of + ``install_requires`` dependencies in ``debugtoolbar/setup.py``? -# Introduce a bug into your application: Change: +#. Introduce a bug into your application: Change: - .. code-block:: python + .. code-block:: python - def hello_world(request): - return Response('<body><h1>Hello World!</h1></body>') + def hello_world(request): + return Response('<body><h1>Hello World!</h1></body>') - to: + to: - .. code-block:: python + .. code-block:: python def hello_world(request): return xResponse('<body><h1>Hello World!</h1></body>') - Save, and visit http://localhost:6543/ again. Notice the nice - traceback display. On the lowest line, click the "screen" icon to the - right, and try typing the variable names ``request`` and ``Response``. - What else can you discover? + Save, and visit http://localhost:6543/ again. Notice the nice + traceback display. On the lowest line, click the "screen" icon to the + right, and try typing the variable names ``request`` and ``Response``. + What else can you discover? |
