Skip to content

Commit

Permalink
Changes per stevepiercy review, thanks!
Browse files Browse the repository at this point in the history
  • Loading branch information
shentonfreude committed Oct 21, 2017
1 parent 0880136 commit 30bf730
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/quick_tutorial/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Steps

.. literalinclude:: authentication/setup.py
:language: python
:emphasize-lines: 6-7
:emphasize-lines: 7
:linenos:

#. We can now install our project in development mode:
Expand Down
2 changes: 1 addition & 1 deletion docs/quick_tutorial/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Steps
pulls in Colander as a dependency:

.. literalinclude:: forms/setup.py
:emphasize-lines: 6-7
:emphasize-lines: 7
:linenos:

#. We can now install our project in development mode:
Expand Down
5 changes: 3 additions & 2 deletions docs/quick_tutorial/ini.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ The ``.ini`` file is also used for two other functions:
- *Configuring the WSGI server*. ``[server:main]`` wires up the choice
of which WSGI *server* for your WSGI *application*. In this case, we
are using ``waitress`` which was specified in
``tutorial/setup.py``. It also wires up the *port number*: ``listen
= localhost:6543`` tells ``waitress`` to listen on port 6543.
``tutorial/setup.py``. It also wires up the *port number*:
``listen = localhost:6543`` tells ``waitress`` to listen on host
``localhost`` at port ``6543``.

- *Configuring Python logging*. Pyramid uses Python standard logging, which
needs a number of configuration values. The ``.ini`` serves this function.
Expand Down
4 changes: 2 additions & 2 deletions docs/quick_tutorial/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Install Pyramid
---------------

We have our Python standard prerequisites out of the way. The Pyramid
part is pretty easy.
part is pretty easy. We'll also install a WSGI server, Waitress.

.. parsed-literal::
Expand All @@ -200,7 +200,7 @@ part is pretty easy.
c:\\> %VENV%\\Scripts\\pip install "pyramid==\ |release|\ " waitress
Our Python virtual environment now has the Pyramid software available
as well as the ``waitress`` server.
as well as the ``waitress`` package.

You can optionally install some of the extra Python packages used in this
tutorial.
Expand Down

0 comments on commit 30bf730

Please sign in to comment.