diff options
| author | Matt Bosworth | 2012-10-02 22:41:03 -0700 | 
|---|---|---|
| committer | Matt Bosworth | 2012-10-02 22:41:03 -0700 | 
| commit | 934492ebd02dfc580fd0dbd9d8a57ca123adb46d (patch) | |
| tree | 20c5529cf2c2b3061d35d44bb3d52c8646ded5f0 /docs/tutorial/2-requests-and-responses.md | |
| parent | b89125ef53a2f9e246afd5eda5c8f404a714da76 (diff) | |
| download | django-rest-framework-934492ebd02dfc580fd0dbd9d8a57ca123adb46d.tar.bz2 | |
Fixed references to serializer.serialized and serializer.serialized_errors
in part 3 of the tutorial.  Altered part 1 to use blogs/urls.py since it was
specified at the beginning.  Also caught some spelling errors while I was at it.
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index d889b1e0..13feb254 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -27,7 +27,7 @@ REST framework provides two wrappers you can use to write API views.  1. The `@api_view` decorator for working with function based views.  2. The `APIView` class for working with class based views. -These wrappers provide a few bits of functionality such as making sure you recieve `Request` instances in your view, and adding context to `Response` objects so that content negotiation can be performed. +These wrappers provide a few bits of functionality such as making sure you receive `Request` instances in your view, and adding context to `Response` objects so that content negotiation can be performed.  The wrappers also provide behaviour such as returning `405 Method Not Allowed` responses when appropriate, and handling any `ParseError` exception that occurs when accessing `request.DATA` with malformed input. @@ -121,7 +121,7 @@ Now update the `urls.py` file slightly, to append a set of `format_suffix_patter      urlpatterns = format_suffix_patterns(urlpatterns) -We don't necessarily need to add these extra url patterns in, but it gives us a simple, clean way of refering to a specific format. +We don't necessarily need to add these extra url patterns in, but it gives us a simple, clean way of referring to a specific format.  ## How's it looking? | 
