diff options
| author | Chris Shenton <chris@v-studios.com> | 2017-10-21 15:35:25 +0200 |
|---|---|---|
| committer | Chris Shenton <chris@v-studios.com> | 2017-10-21 16:02:59 +0200 |
| commit | bcf79f0d2555236b8b70932d30fd76bd15591ba0 (patch) | |
| tree | be86cea64445647fe5e462a54164bbf06d4176bd /docs/quick_tutorial/logging | |
| parent | 6b234227d5da6294c51d476225472f5370ba0af5 (diff) | |
| download | pyramid-bcf79f0d2555236b8b70932d30fd76bd15591ba0.tar.gz pyramid-bcf79f0d2555236b8b70932d30fd76bd15591ba0.tar.bz2 pyramid-bcf79f0d2555236b8b70932d30fd76bd15591ba0.zip | |
Quick Tutorial: Replace wsgiref with waitress
In setup.py add waitress import.
In development.ini use waitress.
Adjust line number highlighting.
Mention that we're using it early in the tutorial.
Addresses #2926
Diffstat (limited to 'docs/quick_tutorial/logging')
| -rw-r--r-- | docs/quick_tutorial/logging/development.ini | 4 | ||||
| -rw-r--r-- | docs/quick_tutorial/logging/setup.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/quick_tutorial/logging/development.ini b/docs/quick_tutorial/logging/development.ini index b869ca5b6..ff470acdb 100644 --- a/docs/quick_tutorial/logging/development.ini +++ b/docs/quick_tutorial/logging/development.ini @@ -5,8 +5,8 @@ pyramid.includes = pyramid_debugtoolbar [server:main] -use = egg:pyramid#wsgiref -port = 6543 +use = egg:waitress#main +listen = localhost:6543 # Begin logging configuration diff --git a/docs/quick_tutorial/logging/setup.py b/docs/quick_tutorial/logging/setup.py index 2221b72e9..aefa352d4 100644 --- a/docs/quick_tutorial/logging/setup.py +++ b/docs/quick_tutorial/logging/setup.py @@ -2,6 +2,7 @@ from setuptools import setup requires = [ 'pyramid', + 'waitress', 'pyramid_chameleon' ] |
