From 623304a19dbbb7bfe67b865edbaf47205bdba429 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 18 Aug 2014 11:10:41 +0100 Subject: Latest docs deploy --- tutorial/quickstart.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tutorial/quickstart.html') diff --git a/tutorial/quickstart.html b/tutorial/quickstart.html index 5949e4ed..171e7255 100644 --- a/tutorial/quickstart.html +++ b/tutorial/quickstart.html @@ -319,22 +319,22 @@ REST_FRAMEWORK = {
python ./manage.py runserver
We can now access our API, both from the command-line, using tools like curl...
bash: curl -H 'Accept: application/json; indent=4' -u admin:password http://127.0.0.1:8000/users/
+bash: curl -H 'Accept: application/json; indent=4' -u admin:password http://127.0.0.1:8000/users/
{
- "count": 2,
- "next": null,
- "previous": null,
+ "count": 2,
+ "next": null,
+ "previous": null,
"results": [
{
- "email": "admin@example.com",
- "groups": [],
- "url": "http://127.0.0.1:8000/users/1/",
+ "email": "admin@example.com",
+ "groups": [],
+ "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/",
+ "email": "tom@example.com",
+ "groups": [ ],
+ "url": "http://127.0.0.1:8000/users/2/",
"username": "tom"
}
]
--
cgit v1.2.3