Skip to content

Commit

Permalink
backport Pylons#3567
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Mar 6, 2020
1 parent de01b67 commit 485776a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/narr/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ configured imperatively:
if __name__ == '__main__':
with Configurator() as config:
config.add_route('hello', '/')
config.add_view(hello_world)
config.add_view(hello_world, route_name='hello')
app = config.make_wsgi_app()
server = make_server('0.0.0.0', 6543, app)
server.serve_forever()
Expand Down

0 comments on commit 485776a

Please sign in to comment.