diff options
| author | Tom Christie | 2015-01-21 13:03:49 +0000 |
|---|---|---|
| committer | Tom Christie | 2015-01-21 13:03:49 +0000 |
| commit | 9d24809a4dee67ee414ee79820331f0794c42a13 (patch) | |
| tree | d9e246f0b6a9a6491370a392393e7d4c1a183889 /docs/tutorial | |
| parent | da6ef3d0b0f3a8e688524bbd446d4350a74fd05a (diff) | |
| parent | c0fa92e9adce47d8cde2c6dea4b1e30f64f5a92c (diff) | |
| download | django-rest-framework-9d24809a4dee67ee414ee79820331f0794c42a13.tar.bz2 | |
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/tutorial')
| -rw-r--r-- | docs/tutorial/1-serialization.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 41ff4d07..80e869ea 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -198,7 +198,7 @@ Open the file `snippets/serializers.py` again, and replace the `SnippetSerialize model = Snippet fields = ('id', 'title', 'code', 'linenos', 'language', 'style') -One nice property that serializers have is that you can inspect all the fields in a serializer instance, by printing it's representation. Open the Django shell with `python manage.py shell`, then try the following: +One nice property that serializers have is that you can inspect all the fields in a serializer instance, by printing its representation. Open the Django shell with `python manage.py shell`, then try the following: >>> from snippets.serializers import SnippetSerializer >>> serializer = SnippetSerializer() |
