diff options
| author | Timothy Allen <flipper@peregrinesalon.com> | 2017-02-21 19:13:00 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-02-21 19:13:22 -0500 |
| commit | 138b7b07c8e25e9d84d7d17c9437dc8f3accd49d (patch) | |
| tree | be6a75f49ef8be4b8d0a734db80b0c5f8b6c6526 /docs | |
| parent | d03153e3b09c078a0622e45ecff37e43f3ab8972 (diff) | |
[1.11.x] Used "0" ip shortcut for runserver example.
Backport of 7d20a7d88a81a041af4b66296971834ee6fa3512 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial01.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 05ee9c3481..a83f24e4a1 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -173,16 +173,17 @@ It worked! $ python manage.py runserver 8080 - If you want to change the server's IP, pass it along with the port. So to - listen on all public IPs (useful if you want to show off your work on other - computers on your network), use: + If you want to change the server's IP, pass it along with the port. For + example, to listen on all available public IPs (which is useful if you are + running Vagrant or want to show off your work on other computers on the + network), use: .. code-block:: console - $ python manage.py runserver 0.0.0.0:8000 + $ python manage.py runserver 0:8000 - Full docs for the development server can be found in the - :djadmin:`runserver` reference. + **0** is a shortcut for **0.0.0.0**. Full docs for the development server + can be found in the :djadmin:`runserver` reference. .. admonition:: Automatic reloading of :djadmin:`runserver` |
