Skip to content

Commit 2d52c9e

Browse files
Update Tutorial - quickstart (#7943)
* Tutorial - Adjust quickstart Add asgi.py file Also add paragraph for the second user, which is later displayed * 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 * Tutorial - quickstart - Update browsable API image Only show the admin user New Image has similar width and is compressed
1 parent f3bb5b9 commit 2d52c9e

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/img/quickstart.png

-11.5 KB
Loading

docs/tutorial/quickstart.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The project layout should look like:
4242
./tutorial/quickstart/models.py
4343
./tutorial/quickstart/tests.py
4444
./tutorial/quickstart/views.py
45+
./tutorial/asgi.py
4546
./tutorial/settings.py
4647
./tutorial/urls.py
4748
./tutorial/wsgi.py
@@ -176,12 +177,6 @@ We can now access our API, both from the command-line, using tools like `curl`..
176177
"url": "http://127.0.0.1:8000/users/1/",
177178
"username": "admin"
178179
},
179-
{
180-
"email": "tom@example.com",
181-
"groups": [],
182-
"url": "http://127.0.0.1:8000/users/2/",
183-
"username": "tom"
184-
}
185180
]
186181
}
187182

@@ -202,12 +197,6 @@ Or using the [httpie][httpie], command line tool...
202197
"url": "http://localhost:8000/users/1/",
203198
"username": "paul"
204199
},
205-
{
206-
"email": "tom@example.com",
207-
"groups": [],
208-
"url": "http://127.0.0.1:8000/users/2/",
209-
"username": "tom"
210-
}
211200
]
212201
}
213202

0 commit comments

Comments
 (0)