Moved confirmation about dev server running to earlier in tutorial 1.

This commit is contained in:
Andreu Vallbona 2024-06-09 19:51:40 +02:00 committed by GitHub
parent 85240139ca
commit f812b927a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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 Ignore the warning about unapplied database migrations for now; we'll deal
with the database shortly. 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 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 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 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 production environment. It's intended only for use while developing. (We're in
the business of making web frameworks, not web servers.) 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.) (To serve the site on a different port, see the :djadmin:`runserver` reference.)
.. admonition:: Automatic reloading of :djadmin:`runserver` .. admonition:: Automatic reloading of :djadmin:`runserver`