summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndreu Vallbona <avallbona@gmail.com>2024-06-09 19:51:40 +0200
committerNatalia <124304+nessita@users.noreply.github.com>2024-06-09 14:52:54 -0300
commitae032fed89fc6c84ccfdefaa2ffc33fb1c4bfee9 (patch)
tree0e93076a6ccfbeb2f6726345e91f98345b20aec1 /docs
parentbae675f4a4744cf807a93fbfee514d72a5024a16 (diff)
[5.1.x] Moved confirmation about dev server running to earlier in tutorial 1.
Backport of f812b927a541fecc8ee445e1fd4dbe9d0540d523 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index e2fb7e38fd..f506fc605d 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -138,6 +138,10 @@ You'll see the following output on the command line:
Ignore the warning about unapplied database migrations for now; we'll deal
with the database shortly.
+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!
+
You've started the Django development server, a lightweight web server written
purely in Python. We've included this with Django so you can develop things
rapidly, without having to deal with configuring a production server -- such as
@@ -147,10 +151,6 @@ Now's a good time to note: **don't** use this server in anything resembling a
production environment. It's intended only for use while developing. (We're in
the business of making web frameworks, not web servers.)
-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!
-
(To serve the site on a different port, see the :djadmin:`runserver` reference.)
.. admonition:: Automatic reloading of :djadmin:`runserver`