1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[4.1.x] Removed note about "0" IP address from tutorial.

Tutorial should offer only minimum, necessary, explanation.
Backport of c583418e3ec2a7f2997f739a51ae07291c18070e from main
This commit is contained in:
Mariusz Felisiak 2022-10-04 11:51:18 +02:00
parent e9a24a15f2
commit 735a610139
2 changed files with 5 additions and 5 deletions

View File

@ -181,10 +181,10 @@ It worked!
.. console:: .. 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 Full docs for the development server can be found in the
can be found in the :djadmin:`runserver` reference. :djadmin:`runserver` reference.
.. admonition:: Automatic reloading of :djadmin:`runserver` .. admonition:: Automatic reloading of :djadmin:`runserver`

View File

@ -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 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 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 machines on the network, use its own IP address (e.g. ``192.168.2.1``), ``0``
``0.0.0.0`` or ``::`` (with IPv6 enabled). (shortcut for ``0.0.0.0``), ``0.0.0.0``, or ``::`` (with IPv6 enabled).
You can provide an IPv6 address surrounded by brackets You can provide an IPv6 address surrounded by brackets
(e.g. ``[200a::1]:8000``). This will automatically enable IPv6 support. (e.g. ``[200a::1]:8000``). This will automatically enable IPv6 support.