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 15:35:25 +0200 |
| commit | cfc8fbe0e1380c06b01643f8310ae59ea0af820b (patch) | |
| tree | 3e00f3c55f1282d8a6a239212ab3465469848415 /docs/quick_tutorial/debugtoolbar | |
| parent | 6b234227d5da6294c51d476225472f5370ba0af5 (diff) | |
| download | pyramid-cfc8fbe0e1380c06b01643f8310ae59ea0af820b.tar.gz pyramid-cfc8fbe0e1380c06b01643f8310ae59ea0af820b.tar.bz2 pyramid-cfc8fbe0e1380c06b01643f8310ae59ea0af820b.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/debugtoolbar')
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar/development.ini | 4 | ||||
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar/setup.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/quick_tutorial/debugtoolbar/development.ini b/docs/quick_tutorial/debugtoolbar/development.ini index 17b479011..58d23cff7 100644 --- a/docs/quick_tutorial/debugtoolbar/development.ini +++ b/docs/quick_tutorial/debugtoolbar/development.ini @@ -4,5 +4,5 @@ pyramid.includes = pyramid_debugtoolbar [server:main] -use = egg:pyramid#wsgiref -port = 6543 +use = egg:waitress#main +listen = localhost:6543 diff --git a/docs/quick_tutorial/debugtoolbar/setup.py b/docs/quick_tutorial/debugtoolbar/setup.py index 9997984d3..39a045af0 100644 --- a/docs/quick_tutorial/debugtoolbar/setup.py +++ b/docs/quick_tutorial/debugtoolbar/setup.py @@ -2,6 +2,7 @@ from setuptools import setup requires = [ 'pyramid', + 'waitress', ] setup(name='tutorial', @@ -10,4 +11,4 @@ setup(name='tutorial', [paste.app_factory] main = tutorial:main """, -)
\ No newline at end of file +) |
