diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-21 03:06:45 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-08-21 03:06:45 -0700 |
| commit | 4b84f6e97b321309544513b0697e8b378a57bafc (patch) | |
| tree | 8e034b1c1c70283d9fbffb4b273c4aecc9ee2547 /docs/quick_tour.rst | |
| parent | 820a752645b460ea8009b07a75c752ab09c53dec (diff) | |
| download | pyramid-4b84f6e97b321309544513b0697e8b378a57bafc.tar.gz pyramid-4b84f6e97b321309544513b0697e8b378a57bafc.tar.bz2 pyramid-4b84f6e97b321309544513b0697e8b378a57bafc.zip | |
Synch Hello World app with canonical version on trypyramid.com and elsewhere
Diffstat (limited to 'docs/quick_tour.rst')
| -rw-r--r-- | docs/quick_tour.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index 6c240da1a..922ffd652 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -87,14 +87,14 @@ World!`` message. New to Python web programming? If so, some lines in the module merit explanation: +#. *Lines 6-7*. Implement the view code that generates the :term:`response`. + #. *Line 10*. ``if __name__ == '__main__':`` is Python's way of saying "Start here when running from the command line". #. *Lines 11-13*. Use Pyramid's :term:`configurator` in a :term:`context manager` to connect :term:`view` code to a particular URL :term:`route`. -#. *Lines 6-7*. Implement the view code that generates the :term:`response`. - #. *Lines 14-16*. Publish a :term:`WSGI` app using an HTTP server. As shown in this example, the :term:`configurator` plays a central role in |
