aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/renderers.md
diff options
context:
space:
mode:
authorDaniel Sokolowski2012-10-21 07:52:10 -0700
committerDaniel Sokolowski2012-10-21 07:52:10 -0700
commitd53ee8a10c5fd3c95a577a409d39a394a838b0b7 (patch)
treed9228a3fe855ac0c4ab4cb7be579415e3b52627a /docs/api-guide/renderers.md
parentefabd2bb1b762fbdee2b48fa3a6ccb8f23c7e8dc (diff)
parent65d4970bf71d31669f10dc0cecd4a2a00acd7393 (diff)
downloaddjango-rest-framework-d53ee8a10c5fd3c95a577a409d39a394a838b0b7.tar.bz2
Merge pull request #308 from markotibold/docs-edits
Documentation spelling and other mistake fixes.
Diffstat (limited to 'docs/api-guide/renderers.md')
-rw-r--r--docs/api-guide/renderers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/renderers.md b/docs/api-guide/renderers.md
index b3b8d5bc..b6db376c 100644
--- a/docs/api-guide/renderers.md
+++ b/docs/api-guide/renderers.md
@@ -6,7 +6,7 @@
>
> — [Django documentation][cite]
-REST framework includes a number of built in Renderer classes, that allow you to return responses with various media types. There is also support for defining your own custom renderers, which gives you the flexiblity to design your own media types.
+REST framework includes a number of built in Renderer classes, that allow you to return responses with various media types. There is also support for defining your own custom renderers, which gives you the flexibility to design your own media types.
## How the renderer is determined
@@ -229,7 +229,7 @@ For example:
## Designing your media types
-For the purposes of many Web APIs, simple `JSON` responses with hyperlinked relations may be sufficient. If you want to fully embrace RESTful design and [HATEOAS] you'll neeed to consider the design and usage of your media types in more detail.
+For the purposes of many Web APIs, simple `JSON` responses with hyperlinked relations may be sufficient. If you want to fully embrace RESTful design and [HATEOAS] you'll need to consider the design and usage of your media types in more detail.
In [the words of Roy Fielding][quote], "A REST API should spend almost all of its descriptive effort in defining the media type(s) used for representing resources and driving application state, or in defining extended relation names and/or hypertext-enabled mark-up for existing standard media types.".