diff options
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst index 00ec177ca..41da33fcb 100644 --- a/README.rst +++ b/README.rst @@ -24,14 +24,14 @@ and deployment more fun, more predictable, and more productive. from pyramid.response import Response def hello_world(request): - return Response('Hello %(name)s!' % request.matchdict) + return Response('Hello World!') if __name__ == '__main__': with Configurator() as config: - config.add_route('hello', '/hello/{name}') + config.add_route('hello', '/') config.add_view(hello_world, route_name='hello') app = config.make_wsgi_app() - server = make_server('0.0.0.0', 8080, app) + server = make_server('0.0.0.0', 6543, app) server.serve_forever() Pyramid is a project of the `Pylons Project <https://pylonsproject.org>`_. |
