From 1f0b88244e4f3e1b63307936a4ef90950a9c8e2f Mon Sep 17 00:00:00 2001 From: juliangeissler <81534590+juliangeissler@users.noreply.github.com> Date: Thu, 22 Apr 2021 12:34:15 +0000 Subject: [PATCH] Tutorial - Adjust quickstart Add asgi.py file Also add paragraph for the second user, which is later displayed --- docs/tutorial/quickstart.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index ee839790f..bf21ad66a 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -42,6 +42,7 @@ The project layout should look like: ./tutorial/quickstart/models.py ./tutorial/quickstart/tests.py ./tutorial/quickstart/views.py + ./tutorial/asgi.py ./tutorial/settings.py ./tutorial/urls.py ./tutorial/wsgi.py @@ -55,6 +56,10 @@ Now sync your database for the first time: We'll also create an initial user named `admin` with a password of `password123`. We'll authenticate as that user later in our example. python manage.py createsuperuser --email admin@example.com --username admin + +We'll also create a second user named `tom`. + + python manage.py createuser --email tom@example.com --username tom Once you've set up a database and the initial user is created and ready to go, open up the app's directory and we'll get coding...