aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/2-requests-and-responses.md
diff options
context:
space:
mode:
authorMarko Tibold2012-10-21 16:34:07 +0200
committerMarko Tibold2012-10-21 16:34:07 +0200
commit71a93930fd4df7a1f5f92c67633b813a26a5e938 (patch)
treec82b5fdc3d69bc54aee06e506df7998e24db13e9 /docs/tutorial/2-requests-and-responses.md
parentefabd2bb1b762fbdee2b48fa3a6ccb8f23c7e8dc (diff)
downloaddjango-rest-framework-71a93930fd4df7a1f5f92c67633b813a26a5e938.tar.bz2
Fixing spelling errors.
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
-rw-r--r--docs/tutorial/2-requests-and-responses.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md
index 7c8fc044..fc37322a 100644
--- a/docs/tutorial/2-requests-and-responses.md
+++ b/docs/tutorial/2-requests-and-responses.md
@@ -5,7 +5,7 @@ Let's introduce a couple of essential building blocks.
## Request objects
-REST framework intoduces a `Request` object that extends the regular `HttpRequest`, and provides more flexible request parsing. The core functionality of the `Request` object is the `request.DATA` attribute, which is similar to `request.POST`, but more useful for working with Web APIs.
+REST framework introduces a `Request` object that extends the regular `HttpRequest`, and provides more flexible request parsing. The core functionality of the `Request` object is the `request.DATA` attribute, which is similar to `request.POST`, but more useful for working with Web APIs.
request.POST # Only handles form data. Only works for 'POST' method.
request.DATA # Handles arbitrary data. Works any HTTP request with content.