diff options
| author | Tom Christie | 2013-02-23 21:52:26 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-02-23 21:52:26 +0000 | 
| commit | 9e2131715a40110a5130a1f391de7989b2ed23a9 (patch) | |
| tree | 33a8d39ed833f6a8575429cb8f069dfeb6911f65 /docs/tutorial/1-serialization.md | |
| parent | 5b03de8287b04177c30815f5c798fe5c69e0d122 (diff) | |
| download | django-rest-framework-9e2131715a40110a5130a1f391de7989b2ed23a9.tar.bz2 | |
Formatting.
Diffstat (limited to 'docs/tutorial/1-serialization.md')
| -rw-r--r-- | docs/tutorial/1-serialization.md | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 691b3500..6709f751 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -304,11 +304,11 @@ It's worth noting that there are a couple of edge cases we're not dealing with p  Now we can start up a sample server that serves our snippets. -Quit out of the shell +Quit out of the shell...  	quit() -and start up Django's development server +...and start up Django's development server.  	python manage.py runserver @@ -327,7 +327,7 @@ We can get a list of all of the snippets.  	[{"id": 1, "title": "", "code": "foo = \"bar\"\n", "linenos": false, "language": "python", "style": "friendly"}, {"id": 2, "title": "", "code": "print \"hello, world\"\n", "linenos": false, "language": "python", "style": "friendly"}] -or we can get a particular snippet by referencing its id +Or we can get a particular snippet by referencing its id.  	curl http://127.0.0.1:8000/snippets/2/ | 
