aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial
diff options
context:
space:
mode:
authorphalt2014-12-08 15:41:01 +0000
committerphalt2014-12-08 15:41:01 +0000
commit8e9408115d0a3ab433078b82c9cc51f825eeac71 (patch)
treeee49f0cb136eee05a9bc3afd331864f3f847821c /docs/tutorial
parentfcbae5d99f93a28c9aac340bf2d4d2a3930e1a6a (diff)
downloaddjango-rest-framework-8e9408115d0a3ab433078b82c9cc51f825eeac71.tar.bz2
fixed indentations
Diffstat (limited to 'docs/tutorial')
-rw-r--r--docs/tutorial/1-serialization.md8
-rw-r--r--docs/tutorial/2-requests-and-responses.md2
2 files changed, 6 insertions, 4 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",
diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md
index 08746cd7..49e96d03 100644
--- a/docs/tutorial/2-requests-and-responses.md
+++ b/docs/tutorial/2-requests-and-responses.md
@@ -127,7 +127,7 @@ Go ahead and test the API from the command line, as we did in [tutorial part 1][
We can get a list of all of the snippets, as before.
- http http://127.0.0.1:8000/snippets/
+ http http://127.0.0.1:8000/snippets/
HTTP/1.1 200 OK
...