From d77c731d890115c67d35473aa97aa891492c8097 Mon Sep 17 00:00:00 2001 From: juliangeissler <81534590+juliangeissler@users.noreply.github.com> Date: Thu, 22 Apr 2021 12:46:47 +0000 Subject: [PATCH] Tutorial - Adjust quickstart It seems that there is no CLI command to easily create a user Remove the second user from the Markdown Image next --- docs/tutorial/quickstart.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index bf21ad66a..433724c67 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -56,10 +56,6 @@ 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... @@ -181,12 +177,6 @@ We can now access our API, both from the command-line, using tools like `curl`.. "url": "http://127.0.0.1:8000/users/1/", "username": "admin" }, - { - "email": "tom@example.com", - "groups": [], - "url": "http://127.0.0.1:8000/users/2/", - "username": "tom" - } ] } @@ -207,12 +197,6 @@ Or using the [httpie][httpie], command line tool... "url": "http://localhost:8000/users/1/", "username": "paul" }, - { - "email": "tom@example.com", - "groups": [], - "url": "http://127.0.0.1:8000/users/2/", - "username": "tom" - } ] }