summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/forms
diff options
context:
space:
mode:
authorChris Shenton <chris@v-studios.com>2017-10-21 15:35:25 +0200
committerChris Shenton <chris@v-studios.com>2017-10-21 15:35:25 +0200
commitcfc8fbe0e1380c06b01643f8310ae59ea0af820b (patch)
tree3e00f3c55f1282d8a6a239212ab3465469848415 /docs/quick_tutorial/forms
parent6b234227d5da6294c51d476225472f5370ba0af5 (diff)
downloadpyramid-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/forms')
-rw-r--r--docs/quick_tutorial/forms/development.ini4
-rw-r--r--docs/quick_tutorial/forms/setup.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/quick_tutorial/forms/development.ini b/docs/quick_tutorial/forms/development.ini
index 7066668bf..78d7479e7 100644
--- a/docs/quick_tutorial/forms/development.ini
+++ b/docs/quick_tutorial/forms/development.ini
@@ -5,5 +5,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/forms/setup.py b/docs/quick_tutorial/forms/setup.py
index 361ade013..9671e609b 100644
--- a/docs/quick_tutorial/forms/setup.py
+++ b/docs/quick_tutorial/forms/setup.py
@@ -2,6 +2,7 @@ from setuptools import setup
requires = [
'pyramid',
+ 'waitress',
'pyramid_chameleon',
'deform'
]
@@ -12,4 +13,4 @@ setup(name='tutorial',
[paste.app_factory]
main = tutorial:main
""",
-) \ No newline at end of file
+)