diff options
| author | Tom Christie | 2013-01-28 07:52:04 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-01-28 07:52:04 +0000 |
| commit | b11628f429a241120c37981a17bbc375c23bb7ee (patch) | |
| tree | b5b744b1993f44d443b6e0188a753dad7d04b540 /docs | |
| parent | fdd35cd2660f8e9d2a442b41c38ad53a6d457f5c (diff) | |
| download | django-rest-framework-b11628f429a241120c37981a17bbc375c23bb7ee.tar.bz2 | |
Revert comment.
Diffstat (limited to 'docs')
| -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 d66d2b97..03c7ad71 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -129,7 +129,7 @@ The first thing we need to get started on our Web API is provide a way of serial Create or update a new snippet instance. """ if instance: - # Update existing instance or part of it + # Update existing instance instance.title = attrs.get('title', instance.title) instance.code = attrs.get('code', instance.code) instance.linenos = attrs.get('linenos', instance.linenos) |
