diff options
| author | Tom Christie | 2013-02-22 20:46:20 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-02-22 20:46:20 +0000 | 
| commit | b3019d9824c0ba2f907e16202f6e9400ab7ae80e (patch) | |
| tree | ae2d5e6b2b3db50a77b3868ec0bd99e1bb09ac8e /docs/api-guide/parsers.md | |
| parent | 0c7d6062b2b327f1fb4051a898212499e33daa54 (diff) | |
| download | django-rest-framework-b3019d9824c0ba2f907e16202f6e9400ab7ae80e.tar.bz2 | |
Note requirements explicitly.
Diffstat (limited to 'docs/api-guide/parsers.md')
| -rw-r--r-- | docs/api-guide/parsers.md | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/docs/api-guide/parsers.md b/docs/api-guide/parsers.md index 0cd01639..a2830492 100644 --- a/docs/api-guide/parsers.md +++ b/docs/api-guide/parsers.md @@ -69,6 +69,8 @@ Parses `JSON` request content.  Parses `YAML` request content. +Requires the `pyyaml` package to be installed. +  **.media_type**: `application/yaml`  ## XMLParser @@ -79,6 +81,8 @@ Note that the `XML` markup language is typically used as the base language for m  If you are considering using `XML` for your API, you may want to consider implementing a custom renderer and parser for your specific requirements, and using an existing domain-specific media-type, or creating your own custom XML-based media-type. +Requires the `defusedxml` package to be installed. +  **.media_type**: `application/xml`  ## FormParser | 
