From 4b84f6e97b321309544513b0697e8b378a57bafc Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 21 Aug 2018 03:06:45 -0700 Subject: Synch Hello World app with canonical version on trypyramid.com and elsewhere --- docs/quick_tour.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/quick_tour.rst') 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 -- cgit v1.2.3