diff options
| author | Tom Christie | 2015-01-21 20:29:58 +0000 |
|---|---|---|
| committer | Tom Christie | 2015-01-21 20:29:58 +0000 |
| commit | 5e52f0fd8c3b4dbe70f1332d1323e3a544951e66 (patch) | |
| tree | 61eab5961b51ad29072c7de0f4570bf648bc192f /docs/tutorial | |
| parent | e5b94f7b7bbf2f6f35c5e33fb2723bdb0d33bad3 (diff) | |
| parent | 9ec08ce57889dc329506a572044438a55da61303 (diff) | |
| download | django-rest-framework-5e52f0fd8c3b4dbe70f1332d1323e3a544951e66.tar.bz2 | |
Merge branch 'version-3.1' into cursor-pagination
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() |
