diff options
| author | Tom Christie | 2014-11-25 15:52:36 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-11-25 15:52:36 +0000 |
| commit | d7f8047addaea10b0f629e064a3826e7531d8040 (patch) | |
| tree | 9bd27d74390b313bd1b84a9853531e5814ea24e5 /docs/tutorial/1-serialization.md | |
| parent | 64d8e3dcb6846610e1908e067962b0c8457a86f8 (diff) | |
| parent | 66fc51de5c4622073e7e6cfd12cc7c4a1a8ba60c (diff) | |
| download | django-rest-framework-d7f8047addaea10b0f629e064a3826e7531d8040.tar.bz2 | |
Merge branch 'mkdocs' of git://github.com/d0ugal/django-rest-framework into d0ugal-mkdocs
Diffstat (limited to 'docs/tutorial/1-serialization.md')
| -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 db5b9ea7..f9027b68 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -134,7 +134,7 @@ A serializer class is very similar to a Django `Form` class, and includes simila The field flags can also control how the serializer should be displayed in certain circumstances, such as when rendering to HTML. The `style={'type': 'textarea'}` flag above is equivelent to using `widget=widgets.Textarea` on a Django `Form` class. This is particularly useful for controlling how the browsable API should be displayed, as we'll see later in the tutorial. -We can actually also save ourselves some time by using the `ModelSerializer` class, as we'll see later, but for now we'll keep our serializer definition explicit. +We can actually also save ourselves some time by using the `ModelSerializer` class, as we'll see later, but for now we'll keep our serializer definition explicit. ## Working with Serializers |
