diff options
| author | Travis Swientek | 2015-01-09 11:36:21 -0800 | 
|---|---|---|
| committer | Travis Swientek | 2015-01-09 11:36:21 -0800 | 
| commit | 8ccf5bcc0bb3455c0d71a0e0d845ef54489bb28e (patch) | |
| tree | 58e9fd886ec19b938d20aa8ab8a7654d6e44c339 /docs/tutorial/1-serialization.md | |
| parent | 4d9e7a53565f6301b87999e6bafdb1c2c3c2af3b (diff) | |
| download | django-rest-framework-8ccf5bcc0bb3455c0d71a0e0d845ef54489bb28e.tar.bz2 | |
Tweaked a few issues in the tutorial documentation.
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 60a3d989..41ff4d07 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -191,7 +191,7 @@ Our `SnippetSerializer` class is replicating a lot of information that's also co  In the same way that Django provides both `Form` classes and `ModelForm` classes, REST framework includes both `Serializer` classes, and `ModelSerializer` classes.  Let's look at refactoring our serializer using the `ModelSerializer` class. -Open the file `snippets/serializers.py` again, and edit the `SnippetSerializer` class. +Open the file `snippets/serializers.py` again, and replace the `SnippetSerializer` class with the following.      class SnippetSerializer(serializers.ModelSerializer):          class Meta: | 
