diff options
| author | Tom Christie | 2014-12-17 16:23:20 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-12-17 16:23:20 +0000 | 
| commit | 418108632c57b4aba5389b74916e4fa12d281438 (patch) | |
| tree | 1a038866007f4720b1be5da3ae565b3cf3fc94fc /docs/tutorial | |
| parent | 90b8f9221e633797c5ab6a25e6c2a14805d459af (diff) | |
| parent | 5f933f575e8a993908acc20d972236f34426cee6 (diff) | |
| download | django-rest-framework-418108632c57b4aba5389b74916e4fa12d281438.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 aab5ce71..b1baf0dd 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -200,7 +200,7 @@ Open the file `snippets/serializers.py` again, and edit the `SnippetSerializer`              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 manange.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 it's representation. Open the Django shell with `python manage.py shell`, then try the following:      >>> from snippets.serializers import SnippetSerializer      >>> serializer = SnippetSerializer() | 
