diff options
| author | Tom Christie | 2012-09-03 14:28:40 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-03 14:28:40 +0100 |
| commit | 7abef9ac3b3fb20a6cdef5d52c640e5725c93437 (patch) | |
| tree | 2cd3270b7079f8b20eb3e3e90d8181c37c4199cb /docs | |
| parent | d180e984e9779673c2d8aab3c65b4763432ba6b5 (diff) | |
| download | django-rest-framework-7abef9ac3b3fb20a6cdef5d52c640e5725c93437.tar.bz2 | |
Parsers may return raw data, or a DataAndFiles object
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 0b6eac9d..34bac155 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -127,7 +127,7 @@ We've now got a few comment instances to play with. Let's take a look at serial serializer = CommentSerializer(instance=c1) serializer.data - # {'email': u'leila@example.com', 'content': u'nothing to say', 'created': datetime.datetime(2012, 8, 22, 16, 20, 9, 822774)} + # {'email': u'leila@example.com', 'content': u'nothing to say', 'created': datetime.datetime(2012, 8, 22, 16, 20, 9, 822774, tzinfo=<UTC>)} At this point we've translated the model instance into python native datatypes. To finalise the serialization process we render the data into `json`. |
