diff options
| author | Tom Christie | 2013-03-18 21:12:05 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-03-18 21:12:05 +0000 |
| commit | ad3ffe20f0c61f04893a411c741d6343b6494ad1 (patch) | |
| tree | a296fd4d69c9e1094a2d2ef1b845c52014b48883 /docs/tutorial | |
| parent | 75fbfb585861dd5bb3ace62b0673b84e80fb537b (diff) | |
| parent | 09e4ee7ae332326e77b23bac1539d31e582419e9 (diff) | |
| download | django-rest-framework-ad3ffe20f0c61f04893a411c741d6343b6494ad1.tar.bz2 | |
Merge branch 'master' into basic-nested-serialization
Diffstat (limited to 'docs/tutorial')
| -rw-r--r-- | docs/tutorial/1-serialization.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 6709f751..205ee7e0 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -126,7 +126,11 @@ The first thing we need to get started on our Web API is provide a way of serial def restore_object(self, attrs, instance=None): """ - Create or update a new snippet instance. + Create or update a new snippet instance, given a dictionary + of deserialized field values. + + Note that if we don't define this method, then deserializing + data will simply return a dictionary of items. """ if instance: # Update existing instance |
