First part of the tutorial. Many explanations missing but it's a start.

This commit is contained in:
Armin Ronacher 2010-04-15 02:21:46 +02:00
parent c4f5c2fb9a
commit 1246f4088a
9 changed files with 394 additions and 14 deletions

View file

@ -54,6 +54,19 @@ So what did that code do?
To stop the server, hit control-C.
.. admonition:: Troubleshooting
The browser is unable to access the server? Sometimes this is
unfortunately caused by broken IPv6 support in your operating system,
browser or a combination. For example on Snow Leopard Google Chrome is
known to exhibit this behaviour.
If the browser does not load up the page, you can change the `app.run`
call to force IPv4 usage::
if __name__ == '__main__':
app.run(host='127.0.0.1')
Debug Mode
----------