diff options
| author | phalt | 2014-12-08 15:41:01 +0000 | 
|---|---|---|
| committer | phalt | 2014-12-08 15:41:01 +0000 | 
| commit | 8e9408115d0a3ab433078b82c9cc51f825eeac71 (patch) | |
| tree | ee49f0cb136eee05a9bc3afd331864f3f847821c /docs/tutorial/1-serialization.md | |
| parent | fcbae5d99f93a28c9aac340bf2d4d2a3930e1a6a (diff) | |
| download | django-rest-framework-8e9408115d0a3ab433078b82c9cc51f825eeac71.tar.bz2 | |
fixed indentations
Diffstat (limited to 'docs/tutorial/1-serialization.md')
| -rw-r--r-- | docs/tutorial/1-serialization.md | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 5b1ae6e8..5dcffcbd 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -340,9 +340,11 @@ You can install httpie using pip:  Finally, we can get a list of all of the snippets: -	http http://127.0.0.1:8000/snippets/ --body +    http http://127.0.0.1:8000/snippets/ -	[ +    HTTP/1.1 200 OK +    ... +    [        {          "id": 1,          "title": "", @@ -367,7 +369,7 @@ Or we can get a particular snippet by referencing its id:      HTTP/1.1 200 OK      ... -	{ +    {        "id": 2,        "title": "",        "code": "print \"hello, world\"\n", | 
