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/authorization | |
| 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/authorization')
| -rw-r--r-- | docs/quick_tutorial/authorization/development.ini | 4 | ||||
| -rw-r--r-- | docs/quick_tutorial/authorization/setup.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/quick_tutorial/authorization/development.ini b/docs/quick_tutorial/authorization/development.ini index a4586d45f..cae509542 100644 --- a/docs/quick_tutorial/authorization/development.ini +++ b/docs/quick_tutorial/authorization/development.ini @@ -6,5 +6,5 @@ pyramid.includes = tutorial.secret = 98zd [server:main] -use = egg:pyramid#wsgiref -port = 6543 +use = egg:waitress#main +listen = localhost:6543 diff --git a/docs/quick_tutorial/authorization/setup.py b/docs/quick_tutorial/authorization/setup.py index 7a6ff4226..0da300ba0 100644 --- a/docs/quick_tutorial/authorization/setup.py +++ b/docs/quick_tutorial/authorization/setup.py @@ -2,6 +2,7 @@ from setuptools import setup requires = [ 'pyramid', + 'waitress', 'pyramid_chameleon', 'bcrypt' ] @@ -12,4 +13,4 @@ setup(name='tutorial', [paste.app_factory] main = tutorial:main """, -)
\ No newline at end of file +) |
