Steve Piercy
2016-02-17 9ba7bb9de6f5eac34c0552989c81a7dd95608e44
Merge pull request #2355 from stevepiercy/1.5-branch

minor grammar and punctuation through "wrapping up"
1 files modified
11 ■■■■ changed files
docs/designdefense.rst 11 ●●●● patch | view | raw | blame | history
docs/designdefense.rst
@@ -1520,11 +1520,11 @@
developer, not the web framework developer, making it more likely to be timely
and correct.
Wrapping Up
Wrapping up
+++++++++++
Here's a diagrammed version of the simplest pyramid application, where
comments take into account what we've discussed in the
Here's a diagrammed version of the simplest pyramid application, where the
inlined comments take into account what we've discussed in the
:ref:`microframeworks_smaller_hello_world` section.
.. code-block:: python
@@ -1535,16 +1535,17 @@
   def hello_world(request):  # accepts a request; no request thread local reqd
       # explicit response object means no response threadlocal
       return Response('Hello world!')
       return Response('Hello world!')
   if __name__ == '__main__':
       from pyramid.config import Configurator
       config = Configurator()       # no global application object.
       config = Configurator()       # no global application object
       config.add_view(hello_world)  # explicit non-decorator registration
       app = config.make_wsgi_app()  # explicitly WSGI
       server = make_server('0.0.0.0', 8080, app)
       server.serve_forever()        # explicitly WSGI
Pyramid Doesn't Offer Pluggable Apps
------------------------------------