diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-25 02:18:51 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-25 02:18:51 -0800 |
| commit | 7857763be80aad2e60b95bfed73c641194fb380c (patch) | |
| tree | 439cef0ac2957bbcc83ea959c91e45fa0c99007f /docs/quick_tour.rst | |
| parent | 54d9ddcd335d45662ca2ec2839574085318e8704 (diff) | |
| download | pyramid-7857763be80aad2e60b95bfed73c641194fb380c.tar.gz pyramid-7857763be80aad2e60b95bfed73c641194fb380c.tar.bz2 pyramid-7857763be80aad2e60b95bfed73c641194fb380c.zip | |
quick_tour - Configuration with ``.ini`` files section cookiecutter updates
- reorder numbered list to align with configuration order, this time for sure!
Diffstat (limited to 'docs/quick_tour.rst')
| -rw-r--r-- | docs/quick_tour.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index a48ac4137..ab25f68dc 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -603,16 +603,16 @@ We have a few decisions made for us in this configuration: ``use = egg:hello_world`` in the app section tells the configuration what application to load. -#. *Choice of web server:* ``use = egg:waitress#main`` tells ``pserve`` to - use the ``waitress`` server. - -#. *Interfaces:* ``listen = 127.0.0.1:6543 [::1]:6543`` tells ``waitress`` to listen on all interfaces on port 6543 for both IPv4 and IPv6. - #. *Easier development by automatic template reloading:* In development mode, you shouldn't have to restart the server when editing a Jinja2 template. ``pyramid.reload_templates = true`` sets this policy, which might be different in production. +#. *Choice of web server:* ``use = egg:waitress#main`` tells ``pserve`` to + use the ``waitress`` server. + +#. *Interfaces:* ``listen = 127.0.0.1:6543 [::1]:6543`` tells ``waitress`` to listen on all interfaces on port 6543 for both IPv4 and IPv6. + Additionally the ``development.ini`` generated by this scaffold wired up Python's standard logging. We'll now see in the console, for example, a log on every request that comes in, as well as traceback information. |
