summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-08-18 12:19:38 -0700
committerSteve Piercy <web@stevepiercy.com>2018-08-18 12:19:38 -0700
commitcc67279154e110edd2b1625066236921b8494ba4 (patch)
tree14a8e29e40cbe6119db711c2c9fbb3ff27bb59e0 /docs/quick_tutorial
parent020a8ab6ca7aa04a16de973abf39840c86fdd697 (diff)
downloadpyramid-cc67279154e110edd2b1625066236921b8494ba4.tar.gz
pyramid-cc67279154e110edd2b1625066236921b8494ba4.tar.bz2
pyramid-cc67279154e110edd2b1625066236921b8494ba4.zip
Clean up code-blocks in qt/logging
Diffstat (limited to 'docs/quick_tutorial')
-rw-r--r--docs/quick_tutorial/logging.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/quick_tutorial/logging.rst b/docs/quick_tutorial/logging.rst
index 0a530e91f..ccbb7970f 100644
--- a/docs/quick_tutorial/logging.rst
+++ b/docs/quick_tutorial/logging.rst
@@ -36,13 +36,13 @@ Steps
.. code-block:: bash
- $ cd ..; cp -r view_classes logging; cd logging
- $ $VENV/bin/pip install -e .
+ cd ..; cp -r view_classes logging; cd logging
+ $VENV/bin/pip install -e .
#. Extend ``logging/tutorial/views.py`` to log a message:
.. literalinclude:: logging/tutorial/views.py
- :linenos:
+ :linenos:
#. Finally let's edit ``development.ini`` configuration file to enable logging
for our Pyramid application:
@@ -54,15 +54,15 @@ Steps
.. code-block:: bash
- $ $VENV/bin/py.test tutorial/tests.py -q
- ....
- 4 passed in 0.41 seconds
+ $VENV/bin/py.test tutorial/tests.py -q
+ ....
+ 4 passed in 0.41 seconds
#. Run your Pyramid application with:
.. code-block:: bash
- $ $VENV/bin/pserve development.ini --reload
+ $VENV/bin/pserve development.ini --reload
#. Open http://localhost:6543/ and http://localhost:6543/howdy in your browser.
Note, both in the console and in the debug toolbar, the message that you