diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-04 11:51:18 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-04 11:51:46 +0200 |
| commit | 735a610139c0b8041dfba9c90a51ec3e4e092eea (patch) | |
| tree | 0f725946a6d47ed375778bf68e21f4f82888dbd8 | |
| parent | e9a24a15f2cdd6b4768ea7b45cd6b1758fb4ed48 (diff) | |
[4.1.x] Removed note about "0" IP address from tutorial.
Tutorial should offer only minimum, necessary, explanation.
Backport of c583418e3ec2a7f2997f739a51ae07291c18070e from main
| -rw-r--r-- | docs/intro/tutorial01.txt | 6 | ||||
| -rw-r--r-- | docs/ref/django-admin.txt | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 1c35424c97..a308339fa9 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -181,10 +181,10 @@ It worked! .. console:: - $ python manage.py runserver 0:8000 + $ python manage.py runserver 0.0.0.0:8000 - **0** is a shortcut for **0.0.0.0**. Full docs for the development server - can be found in the :djadmin:`runserver` reference. + Full docs for the development server can be found in the + :djadmin:`runserver` reference. .. admonition:: Automatic reloading of :djadmin:`runserver` diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 1b487c1e18..9be42c3bcf 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -996,8 +996,8 @@ separate ports by executing ``django-admin runserver`` more than once. Note that the default IP address, ``127.0.0.1``, is not accessible from other machines on your network. To make your development server viewable to other -machines on the network, use its own IP address (e.g. ``192.168.2.1``) or -``0.0.0.0`` or ``::`` (with IPv6 enabled). +machines on the network, use its own IP address (e.g. ``192.168.2.1``), ``0`` +(shortcut for ``0.0.0.0``), ``0.0.0.0``, or ``::`` (with IPv6 enabled). You can provide an IPv6 address surrounded by brackets (e.g. ``[200a::1]:8000``). This will automatically enable IPv6 support. |
