diff options
| author | Tom Christie | 2013-05-09 00:57:27 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-05-09 00:57:27 -0700 |
| commit | 9428d6ddb5ebc2d5d9c8557a52be09f0def69cca (patch) | |
| tree | 41003692e65e08934fed7c0cee263e34da1a4110 /docs/tutorial/1-serialization.md | |
| parent | 0080bf8a00bcfb1988a5e73fae5635bf4969d534 (diff) | |
| parent | 14482a966168a98d43099d00c163d1c8c3b6471b (diff) | |
| download | django-rest-framework-9428d6ddb5ebc2d5d9c8557a52be09f0def69cca.tar.bz2 | |
Merge pull request #817 from maspwr/writable-nested-modelserializer
Merge master into writable-nested-modelserializer
Diffstat (limited to 'docs/tutorial/1-serialization.md')
| -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 205ee7e0..ed54a876 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -204,7 +204,7 @@ We can also serialize querysets instead of model instances. To do so we simply ## Using ModelSerializers -Our `SnippetSerializer` class is replicating a lot of information that's also contained in the `Snippet` model. It would be nice if we could keep out code a bit more concise. +Our `SnippetSerializer` class is replicating a lot of information that's also contained in the `Snippet` model. It would be nice if we could keep our code a bit more concise. In the same way that Django provides both `Form` classes and `ModelForm` classes, REST framework includes both `Serializer` classes, and `ModelSerializer` classes. |
