mirror of https://github.com/django/django.git
Removed note about "0" IP address from tutorial.
Tutorial should offer only minimum, necessary, explanation.
This commit is contained in:
parent
9fbb5b5e16
commit
c583418e3e
|
@ -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`
|
||||
|
||||
|
|
|
@ -1008,8 +1008,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.
|
||||
|
|
Loading…
Reference in New Issue