diff options
| author | Daniel Sokolowski | 2012-10-21 07:52:10 -0700 |
|---|---|---|
| committer | Daniel Sokolowski | 2012-10-21 07:52:10 -0700 |
| commit | d53ee8a10c5fd3c95a577a409d39a394a838b0b7 (patch) | |
| tree | d9228a3fe855ac0c4ab4cb7be579415e3b52627a /docs/tutorial/2-requests-and-responses.md | |
| parent | efabd2bb1b762fbdee2b48fa3a6ccb8f23c7e8dc (diff) | |
| parent | 65d4970bf71d31669f10dc0cecd4a2a00acd7393 (diff) | |
| download | django-rest-framework-d53ee8a10c5fd3c95a577a409d39a394a838b0b7.tar.bz2 | |
Merge pull request #308 from markotibold/docs-edits
Documentation spelling and other mistake fixes.
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 |
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. |
