aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/1-serialization.md
diff options
context:
space:
mode:
authorTom Christie2012-09-03 15:57:43 +0100
committerTom Christie2012-09-03 15:57:43 +0100
commit149b00a070fcbfd44feee5b37096081e18356f93 (patch)
tree4ce2586f6a15613625a23d80b4624e64a9b94de6 /docs/tutorial/1-serialization.md
parent7abef9ac3b3fb20a6cdef5d52c640e5725c93437 (diff)
downloaddjango-rest-framework-149b00a070fcbfd44feee5b37096081e18356f93.tar.bz2
Added the api_view decorator
Diffstat (limited to 'docs/tutorial/1-serialization.md')
-rw-r--r--docs/tutorial/1-serialization.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md
index 34bac155..3d6615d9 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -145,7 +145,7 @@ Deserialization is similar. First we parse a stream into python native datatype
serializer.is_valid()
# True
serializer.object
- # <Comment object at 0x10633b2d0>
+ # <Comment: Comment object>
Notice how similar the API is to working with forms. The similarity should become even more apparent when we start writing views that use our serializer.