aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Bellemare2014-05-05 14:44:54 +0200
committerSylvain Bellemare2014-05-05 14:44:54 +0200
commit05fc974dc961de6d4e11b7baf51f7b3791c06711 (patch)
treeaf88338e5bda78482c2a28b6c0b89f532e4e7647
parentcdc7d19034170e5d775166763e6df1220e131d35 (diff)
downloaddjango-rest-framework-05fc974dc961de6d4e11b7baf51f7b3791c06711.tar.bz2
Added missing "the" word
-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 dbe693ed..55b19457 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -143,7 +143,7 @@ The first thing we need to get started on our Web API is to provide a way of ser
# Create new instance
return Snippet(**attrs)
-The first part of serializer class defines the fields that get serialized/deserialized. The `restore_object` method defines how fully fledged instances get created when deserializing data.
+The first part of the serializer class defines the fields that get serialized/deserialized. The `restore_object` method defines how fully fledged instances get created when deserializing data.
Notice that we can also use various attributes that would typically be used on form fields, such as `widget=widgets.Textarea`. These can be used to control how the serializer should render when displayed as an HTML form. This is particularly useful for controlling how the browsable API should be displayed, as we'll see later in the tutorial.