diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:18:57 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:18:57 -0700 |
| commit | 020a8ab6ca7aa04a16de973abf39840c86fdd697 (patch) | |
| tree | 2c3668e84a8d26bdf48c79739dd523e607a7afff /docs | |
| parent | a0019b2276432abed88090adcdb80e728b799366 (diff) | |
| download | pyramid-020a8ab6ca7aa04a16de973abf39840c86fdd697.tar.gz pyramid-020a8ab6ca7aa04a16de973abf39840c86fdd697.tar.bz2 pyramid-020a8ab6ca7aa04a16de973abf39840c86fdd697.zip | |
Clean up code-blocks in qt/json
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tutorial/json.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/quick_tutorial/json.rst b/docs/quick_tutorial/json.rst index ff153d2b5..98283424c 100644 --- a/docs/quick_tutorial/json.rst +++ b/docs/quick_tutorial/json.rst @@ -31,32 +31,32 @@ Steps .. code-block:: bash - $ cd ..; cp -r view_classes json; cd json - $ $VENV/bin/pip install -e . + cd ..; cp -r view_classes json; cd json + $VENV/bin/pip install -e . #. We add a new route for ``hello_json`` in ``json/tutorial/__init__.py``: .. literalinclude:: json/tutorial/__init__.py - :linenos: + :linenos: #. Rather than implement a new view, we will "stack" another decorator on the ``hello`` view in ``views.py``: .. literalinclude:: json/tutorial/views.py - :linenos: + :linenos: #. We need a new functional test at the end of ``json/tutorial/tests.py``: .. literalinclude:: json/tutorial/tests.py - :linenos: + :linenos: #. Run the tests: .. code-block:: bash - $ $VENV/bin/py.test tutorial/tests.py -q - ..... - 5 passed in 0.47 seconds + $VENV/bin/py.test tutorial/tests.py -q + ..... + 5 passed in 0.47 seconds #. Run your Pyramid application with: |
