aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/2-requests-and-responses.md
diff options
context:
space:
mode:
authorTom Christie2012-10-03 01:32:14 -0700
committerTom Christie2012-10-03 01:32:14 -0700
commit637bfa0f8f4f5be4b877109bd744aa66718ececc (patch)
tree20c5529cf2c2b3061d35d44bb3d52c8646ded5f0 /docs/tutorial/2-requests-and-responses.md
parentb89125ef53a2f9e246afd5eda5c8f404a714da76 (diff)
parent934492ebd02dfc580fd0dbd9d8a57ca123adb46d (diff)
downloaddjango-rest-framework-637bfa0f8f4f5be4b877109bd744aa66718ececc.tar.bz2
Merge pull request #276 from mattbo/restframework2
Fixed references to serializer.serialized and serializer.serialized_erro...
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
-rw-r--r--docs/tutorial/2-requests-and-responses.md4
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?