Kaydet (Commit) 7d20a7d8 authored tarafından Timothy Allen's avatar Timothy Allen Kaydeden (comit) Tim Graham

Used "0" ip shortcut for runserver example.

üst 0a0c2458
...@@ -173,16 +173,17 @@ It worked! ...@@ -173,16 +173,17 @@ It worked!
$ python manage.py runserver 8080 $ python manage.py runserver 8080
If you want to change the server's IP, pass it along with the port. So to If you want to change the server's IP, pass it along with the port. For
listen on all public IPs (useful if you want to show off your work on other example, to listen on all available public IPs (which is useful if you are
computers on your network), use: running Vagrant or want to show off your work on other computers on the
network), use:
.. code-block:: console .. 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 **0** is a shortcut for **0.0.0.0**. Full docs for the development server
:djadmin:`runserver` reference. can be found in the :djadmin:`runserver` reference.
.. admonition:: Automatic reloading of :djadmin:`runserver` .. admonition:: Automatic reloading of :djadmin:`runserver`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment