aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/testing.md
diff options
context:
space:
mode:
authorTom Christie2014-12-03 23:24:06 +0000
committerTom Christie2014-12-03 23:24:06 +0000
commit3d6620c72a9cbaedecc37cc76e591a79409de305 (patch)
treeee3b2a12ee552daac3a49862ae2fc6e934975b34 /docs/api-guide/testing.md
parentcd4d8660211e7af3b06986b68a9281be0b8ffacf (diff)
parent731c8421afe3093a78cdabb9c3cc28fa52cd1c8e (diff)
downloaddjango-rest-framework-3d6620c72a9cbaedecc37cc76e591a79409de305.tar.bz2
Merge
Diffstat (limited to 'docs/api-guide/testing.md')
-rw-r--r--docs/api-guide/testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md
index d059fdab..cd8c7820 100644
--- a/docs/api-guide/testing.md
+++ b/docs/api-guide/testing.md
@@ -255,14 +255,14 @@ The default format used to make test requests may be set using the `TEST_REQUEST
If you need to test requests using something other than multipart or json requests, you can do so by setting the `TEST_REQUEST_RENDERER_CLASSES` setting.
-For example, to add support for using `format='yaml'` in test requests, you might have something like this in your `settings.py` file.
+For example, to add support for using `format='html'` in test requests, you might have something like this in your `settings.py` file.
REST_FRAMEWORK = {
...
'TEST_REQUEST_RENDERER_CLASSES': (
'rest_framework.renderers.MultiPartRenderer',
'rest_framework.renderers.JSONRenderer',
- 'rest_framework.renderers.YAMLRenderer'
+ 'rest_framework.renderers.TemplateHTMLRenderer'
)
}