diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:23:51 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:23:51 -0700 |
| commit | 8c0fa31950e4b69142aecef5fdb8644431c79cb7 (patch) | |
| tree | b9db7fbe74d2e02c4ef23400564565ce3688e337 /docs/quick_tutorial/routing.rst | |
| parent | 2cf5784d44d493902f6457c864197dfd33141823 (diff) | |
| download | pyramid-8c0fa31950e4b69142aecef5fdb8644431c79cb7.tar.gz pyramid-8c0fa31950e4b69142aecef5fdb8644431c79cb7.tar.bz2 pyramid-8c0fa31950e4b69142aecef5fdb8644431c79cb7.zip | |
Clean up code-blocks in qt/routing
Diffstat (limited to 'docs/quick_tutorial/routing.rst')
| -rw-r--r-- | docs/quick_tutorial/routing.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/quick_tutorial/routing.rst b/docs/quick_tutorial/routing.rst index adbe76a62..0384892b2 100644 --- a/docs/quick_tutorial/routing.rst +++ b/docs/quick_tutorial/routing.rst @@ -50,44 +50,44 @@ Steps .. code-block:: bash - $ cd ..; cp -r view_classes routing; cd routing - $ $VENV/bin/pip install -e . + cd ..; cp -r view_classes routing; cd routing + $VENV/bin/pip install -e . #. Our ``routing/tutorial/__init__.py`` needs a route with a replacement pattern: .. literalinclude:: routing/tutorial/__init__.py - :linenos: + :linenos: #. We just need one view in ``routing/tutorial/views.py``: .. literalinclude:: routing/tutorial/views.py - :linenos: + :linenos: #. We just need one view in ``routing/tutorial/home.pt``: .. literalinclude:: routing/tutorial/home.pt - :language: html - :linenos: + :language: html + :linenos: #. Update ``routing/tutorial/tests.py``: .. literalinclude:: routing/tutorial/tests.py - :linenos: + :linenos: #. Now run the tests: .. code-block:: bash - $ $VENV/bin/py.test tutorial/tests.py -q - .. - 2 passed in 0.39 seconds + $VENV/bin/py.test tutorial/tests.py -q + .. + 2 passed in 0.39 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/howdy/amy/smith in your browser. |
