summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorAndreu Vallbona <avallbona@gmail.com>2024-06-09 09:42:21 +0200
committerGitHub <noreply@github.com>2024-06-09 04:42:21 -0300
commit3556f63c4c18440445d93ce5bfb3d652dd76bcb4 (patch)
tree602895b93b9010c95e7d7008a3392482601a0248 /docs/intro/tutorial01.txt
parent6efbeb997cb0aa41555ac464a2b7579a37945b6a (diff)
Simplified tutorial 1 when describing how to run the dev server.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt25
1 files changed, 1 insertions, 24 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 2d57620a96..e2fb7e38fd 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -151,30 +151,7 @@ Now that the server's running, visit http://127.0.0.1:8000/ with your web
browser. You'll see a "Congratulations!" page, with a rocket taking off.
It worked!
-.. admonition:: Changing the port
-
- By default, the :djadmin:`runserver` command starts the development server
- on the internal IP at port 8000.
-
- If you want to change the server's port, pass
- it as a command-line argument. For instance, this command starts the server
- on port 8080:
-
- .. console::
-
- $ python manage.py runserver 8080
-
- 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:
-
- .. console::
-
- $ python manage.py runserver 0.0.0.0:8000
-
- Full docs for the development server can be found in the
- :djadmin:`runserver` reference.
+(To serve the site on a different port, see the :djadmin:`runserver` reference.)
.. admonition:: Automatic reloading of :djadmin:`runserver`